Sonda v0.2.0 Sonda.Agent View Source

Link to this section Summary

Link to this section Types

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

get_sink(server, fun)

View Source
get_sink(server :: t(), (Sonda.Sink.t() -> any())) :: any()
Link to this function

record(server, signal, data)

View Source
record(server :: t(), signal :: Sonda.Sink.signal(), data :: any()) :: :ok
Link to this function

start_link(config)

View Source
start_link(config :: {Sonda.Sink.t(), (() -> NaiveDateTime.t())}) ::
  Agent.on_start()
Link to this function

start_link(arg, opts)

View Source
start_link(
  config :: {Sonda.Sink.t(), (() -> NaiveDateTime.t())},
  opts :: keyword()
) :: Agent.on_start()