corda / net.corda.testing.flows / net.corda.testing.node.internal.TestStartedNode / registerCordappFlowFactory

registerCordappFlowFactory

inline fun <reified P : FlowLogic<*>> TestStartedNode.registerCordappFlowFactory(initiatingFlowClass: KClass<out FlowLogic<*>>, initiatedFlowVersion: Int = 1, noinline flowFactory: (FlowSession) -> P): CordaFuture<P>