Create a TableEventBus instance with the specified connection configuration.
The connection configuration. This must include an ethersjs Signer. If passing the config from a pre-existing Database instance, it must have a non-null signer key defined.
Readonly
configReadonly
contractsReadonly
listenersStart listening to the Registry Contract for events that are associated with a given table. There's only ever one "listener" for a table, but the emitter that Contract listener has can have as many event listeners as the environment supports.
The full name of table that you want to listen for changes to.
A simple wrapper around addListener
that returns an async iterable
which can be used with the for await ... of pattern.
The full name of table that you want to listen for changes to.
Remove a listener (or iterator) based on chain and tableId
A TableIdentifier Object. Must have chainId
and tableId
keys.
Generated using TypeDoc
TableEventBus provides a way to listen for: mutations, transfers, and changes to controller