onMessageParts
fun <T : ERROR CLASS: Symbol not found for MessagePart> onMessageParts(clazz: Class<T>): FullAgentEdgeBuilder<IncomingOutput, List<T>, OutgoingInput>(source)
Filters the intermediate output to only Message instances that contain parts of type T, and transforms the output to a list of those parts.
Parameters
clazz
The class of MessagePart subtype to filter by.