PlugCheckup v0.6.0 PlugCheckup.Check.Runner View Source

Executes the given checks asynchronously respecting the given timeout for each of the checks, and decides whether the execution was successful or not.

Link to this section Summary

Link to this section Functions

Link to this function

async_run(checks, timeout)

View Source
async_run([PlugCheckup.Check.t()], pos_integer()) :: tuple()
Link to this function

execute_all(checks, timeout)

View Source
execute_all([PlugCheckup.Check.t()], pos_integer()) :: Enum.t()
Link to this function

task_to_result(arg)

View Source
task_to_result({{:ok, PlugCheckup.Check.t()}, any()}) :: PlugCheckup.Check.t()
task_to_result({{:exit, any()}, PlugCheckup.Check.t()}) ::
  PlugCheckup.Check.t()