Async writer process that persists events outside the run process path.
Summary
Functions
Returns a specification to start this module under a supervisor.
Types
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec enqueue(pid(), ASM.Event.t()) :: :ok
@spec flush(pid(), timeout()) :: :ok | {:error, ASM.Error.t()}
@spec start_link(keyword()) :: GenServer.on_start()