Requiem.SenderWorker (requiem v0.4.0)

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Link to this section Types

Specs

t() :: %Requiem.SenderWorker{
  handler: module(),
  sender_ptr: integer(),
  socket_ptr: integer(),
  trace_id: binary(),
  worker_index: non_neg_integer()
}

Link to this section Functions

Link to this function

child_spec(init_arg)

Specs

child_spec(Keyword.t()) :: map()

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

send(pid, address, packet)

Specs

send(pid(), Requiem.Address.t(), binary()) :: no_return()
Link to this function

start_link(opts)

Specs

start_link(Keyword.t()) :: GenServer.on_start()