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 conditions to be met 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 wait for

      Returns

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