Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EmailWaiter

Hierarchy

  • EmailWaiter

Constructors

constructor

Properties

Private client

client: EmailClient

Private Optional Readonly config

Methods

forDkim

  • Waits forDkim till it reaches any of the provided states

    Parameters

    • request: GetDkimRequest

      the request to send

    • Rest ...targetStates: LifecycleState[]

      the desired states to wait for. The waiter will return once the resource reaches any of the provided states

    Returns Promise<GetDkimResponse | null>

    response returns GetDkimResponse | null (null in case of 404 response)

forEmailDomain

forEmailReturnPath

forSender

  • Waits forSender till it reaches any of the provided states

    Parameters

    • request: GetSenderRequest

      the request to send

    • Rest ...targetStates: LifecycleState[]

      the desired states to wait for. The waiter will return once the resource reaches any of the provided states

    Returns Promise<GetSenderResponse | null>

    response returns GetSenderResponse | null (null in case of 404 response)

forWorkRequest