Wait For State Consumption
class WaitForStateConsumption(val stateRefs: Set<StateRef>, val services: ServiceHub) : FlowAsyncOperation<Unit>
An FlowAsyncOperation which suspends a flow until the provided StateRefs have been updated.
WARNING! Remember that if the node isn't aware of the supplied StateRefs or if the StateRefs are never updated, then the calling flow will remain suspended.