Type alias OnStepChange

OnStepChange: ((step) => Promise<void>)

Type declaration

    • (step): Promise<void>
    • Reports each signature, transaction and API mutation as it moves from waiting to success, or to error when it fails. The SDK awaits every call. An error the callback itself throws is not a failed step: the SDK call rejects with it and no error step follows.

      Parameters

      Returns Promise<void>