fun <F : FlowLogic<*>> findStateMachines(flowClass: Class<F>): List<Pair<F, CordaFuture<*>>>
Returns the currently live flows of type flowClass, and their corresponding result future.