docs
4.12
customSourceSet
docs
/
net.corda.core.node.services
/
VaultService
/
whenConsumed
when
Consumed
open
fun
whenConsumed
(
ref
:
StateRef
)
:
CordaFuture
<
Vault.Update
<
ContractState
>
>
Provide a
CordaFuture
for when a
StateRef
is consumed, which can be very useful in building tests.