MailSlurpAPI.Api.WaitForController.wait_for_email_count
You're seeing just the function
wait_for_email_count
, go back to MailSlurpAPI.Api.WaitForController module for more information.
Link to this function
wait_for_email_count(connection, opts \\ [])
Specs
wait_for_email_count(Tesla.Env.client(), keyword()) :: {:ok, [MailSlurpAPI.Model.EmailPreview.t()]} | {:error, Tesla.Env.t()}
Wait for and return count number of emails If inbox contains count or more emails at time of request then return count worth of emails. If not wait until the count is reached and return those or return an error if timeout is exceeded.
Parameters
- connection (MailSlurpAPI.Connection): Connection to server
- opts (KeywordList): [optional] Optional parameters
, ...]} on success {:error, info} on failure