Reputation: 42340
CordaRPCOps
provides a mechanism to access the state machine feed
ops.stateMachinesFeed().updates.subscribe {
...
}
I want to be able to access the state machine feed from a Corda service. Is there an equivalent to this using ServiceHub
or AppServiceHub
?
Upvotes: 0
Views: 64
Reputation: 920
You can't do it at the moment. It requires accessing an instance of StateMachineManager
and there is not a way to wire that into a service.
Upvotes: 1