The contract template type.
The contract key type.
The contract id type.
The accumulated state.
Close the Stream and stop receiving events.
Remove the registered callback for the 'live' event.
'live'
function to be deregistered.
Remove the registered callback for the 'change' event.
'change'
function to be deregistered.
Remove the registered callback for the 'close' event.
'close'
function to be deregistered.
Register a callback that will be called when the state of the stream has caught up with the Active Contract Set and is now receiving new transactions.
'live'
function taking the state of the stream as an argument.
Register a callback that will be called when the state of the stream changes, eg. new contract creates or archives.
'change'
function taking the state of the stream and new events as arguments.
Register a callback that will be called when the underlying stream is closed.
'close'
a function taking a StreamCloseEvent as an argument.
Generated using TypeDoc
Interface for streams returned by the streaming methods of the
Ledger
class. Each'change'
event contains accumulated state of typeState
as well as the ledger events that triggered the current state change.