HeartCheck.Executor (heartcheck v0.4.3) 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
Specs
Link to this section Functions
Specs
execute(HeartCheck) :: Keyword.t()
Executes the given HeartCheck
module.
Returns a Keyword.t
with the results keyed by check name.