MailSlurpAPI.Api.WaitForController.wait_for

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

wait_for(connection, opts \\ [])

Specs

wait_for(Tesla.Env.client(), keyword()) ::
  {:ok, [MailSlurpAPI.Model.EmailPreview.t()]} | {:error, Tesla.Env.t()}

Wait for an email to match the provided filter conditions such as subject contains keyword. Generic waitFor method that will wait until an inbox meets given conditions or return immediately if already met

Parameters

  • connection (MailSlurpAPI.Connection): Connection to server
  • opts (KeywordList): [optional] Optional parameters
    • :wait_for_conditions (WaitForConditions): Conditions to apply to emails that you are waiting for

      Returns

, ...]} on success {:error, info} on failure