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
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.