heartcheck v0.3.0 HeartCheck.Executor View Source
Handles the execution of the checks in a HeartCheck module.
Spawns several Task
s for the checks, execute and wait for the result.
Handles timeouts for the checks with the {:error, "TIMEOUT"}
result.
Link to this section Summary
Functions
Executes the given HeartCheck
module
Link to this section Types
Link to this type
result()
View Source
result() :: {String.t(), {term(), :ok} | {term(), {:error, term()}} | {term(), :error}}
Link to this section Functions
Executes the given HeartCheck
module.
Returns a Keyword.t
with the results keyed by check name.