View Source wait_helper (wait_helper v0.2.0)
Summary
Functions
See also: wait_until/3.
Waits TimeLeft
for Fun
to return ExpectedValue
If the result of Fun
matches ExpectedValue
, returns {ok, ExpectedValue}
If no value is returned or the result doesn't match ExpectedValue
, returns one of the following:
{Name, History}
, if #{name => Name}
is is passed in the Opts
{timeout, History}
otherwise