@sudoplatform/sudo-email

    Interface EmailMessageSubscriber

    interface EmailMessageSubscriber {
        connectionStatusChanged(state: ConnectionState): void;
        emailMessageCreated(emailMessage: EmailMessage): void;
        emailMessageDeleted(emailMessage: EmailMessage): void;
        emailMessageUpdated(emailMessage: EmailMessage): void;
    }
    Index

    Methods

    • Notifies the subscriber that the subscription connection state has changed. The subscriber won't be notified of EmailMessage changes until the connection status changes to ConnectionState.CONNECTED. The subscriber will stop receiving EmailMessage change notifications when the connection state changes to ConnectionState.DISCONNECTED.

      Parameters

      Returns void

    • Notifies the subscriber of a created EmailMessage.

      Parameters

      Returns void

    • Notifies the subscriber of a deleted EmailMessage.

      Parameters

      Returns void

    • Notifies the subscriber of an updated EmailMessage.

      Parameters

      Returns void

    MMNEPVFCICPMFPCPTTAAATR