MailSlurpAPI.Api.MissedEmailController.wait_for_nth_missed_email

You're seeing just the function wait_for_nth_missed_email, go back to MailSlurpAPI.Api.MissedEmailController module for more information.
Link to this function

wait_for_nth_missed_email(connection, inbox_id, timeout, opts \\ [])

Specs

wait_for_nth_missed_email(Tesla.Env.client(), String.t(), integer(), keyword()) ::
  {:ok, MailSlurpAPI.Model.MissedEmail.t()} | {:error, Tesla.Env.t()}

Wait for Nth missed email Wait for 0 based index missed email

Parameters

  • connection (MailSlurpAPI.Connection): Connection to server
  • inbox_id (String.t): Optional inbox ID filter
  • timeout (integer()): Optional timeout milliseconds
  • opts (KeywordList): [optional] Optional parameters
    • :index (integer()): Zero based index of the email to wait for. If 1 missed email already and you want to wait for the 2nd email pass index=1

      Returns

} on success {:error, info} on failure