Honeylixir.TransmissionQueue (honeylixir v0.6.1) View Source
Queue for processing and managing events to be sent.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Accepts an event and asynchronously adds it to the queue for processing.
Synchronously pulls all known queue keys from the state
Asynchronously instructs the GenServer to prepare a batch for the given key to be sent.
Link to this section Types
Specs
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Specs
enqueue_event(Honeylixir.Event.t()) :: :ok
Accepts an event and asynchronously adds it to the queue for processing.
Specs
get_all_queue_keys() :: [t_queue_key()]
Synchronously pulls all known queue keys from the state
Specs
process_batch(t_queue_key()) :: :ok
Asynchronously instructs the GenServer to prepare a batch for the given key to be sent.