Optionaloptions: { messageTag?: string }ReadonlymessageA unique identifier for the updater. This is used to route messages to the correct updater.
Handle routed messages from the clients
Optional opt-out from the bus-level message timeout.
Long-running flows (e.g. settlement) surrender control to remote peers
and can legitimately sit idle for longer than messageTimeoutMs. When
this returns true, the bus awaits handleMessage without a deadline.
Defaults to false.
Called once when the SW is starting up
Called once when the SW is shutting down
Called by the scheduler to perform a tick. Can be used by the updater to perform periodic tasks or return delayed responses (eg: subscriptions).
Instantiate a new WalletUpdater. Can override the default
messageTagallowing more than one updater to run in parallel. Note that the default ServiceWorkerWallet sends messages to the default WalletUpdater tag.