@sudoplatform/sudo-email
    Preparing search index...

    Class DefaultSudoEmailClient

    Implements

    Index

    Constructors

    Methods

    • Sets an optional callback to handle sign-in when operations are attempted while not signed in.

      When set, all operations (exception subscriptions and initialization/reset) will check sign-in status before performing their normal behavior. If the client is not signed in, the callback will be invoked to allow the host app to perform sign-in. Once the callback completes, then the client will attempt the original operation that triggered the callback. If the callback throws an error, then the error will be propagated to the caller and the original operation will not be attempted. To clear the callback, call this method with no arguments or undefined.

      Parameters

      • Optionalcallback: SudoPlatformSignInCallback

      Returns void