corda / net.corda.core.flows / FlowLogic / flowStackSnapshot

flowStackSnapshot

@Suspendable fun flowStackSnapshot(): FlowStackSnapshot?

Returns a shallow copy of the Quasar stack frames at the time of call to flowStackSnapshot. Use this to inspect what objects would be serialised at the time of call to a suspending action (e.g. send/receive). Note: This logic is only available during tests and is not meant to be used during the production deployment. Therefore the default implementation does nothing.