@arkade-os/sdk Documentation - v0.4.21
    Preparing search index...

    Class WalletMessageHandler

    Implements

    Index

    Constructors

    Properties

    messageTag: string

    A unique identifier for the updater. This is used to route messages to the correct updater.

    Methods

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

      Parameters

      • message: WalletUpdaterRequest

      Returns boolean

    • Called by the scheduler to perform a tick. Can be used by the updater to perform periodic tasks or return delayed responses (eg: subscriptions).

      Parameters

      • _now: number

      Returns Promise<WalletUpdaterResponse[]>