com.r3corda.core.node.services / VaultService / whenConsumed

whenConsumed

open fun whenConsumed(ref: StateRef): <ERROR CLASS><Update>

Provide a Future for when a StateRef is consumed, which can be very useful in building tests.