asTransformation

fun <I, O : Any> asTransformation(agent: Agent, outputClass: Class<O>): Transformation<I, O>


inline fun <I, O : Any> Agent.asTransformation(): Transformation<I, O>

Creates a transformation action from an agent