HostKit.Agent.MonitorWorker (host_kit v0.1.0-beta.1)

Copy Markdown View Source

Supervised worker for scheduled monitoring checks.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

run_once(opts \\ [])

@spec run_once(keyword()) :: {:ok, [HostKit.Monitor.Result.t()]} | {:error, term()}

start_link(opts \\ [])