Limen.DecisionLog.Flusher (limen v0.2.1)

Copy Markdown View Source

Drains an instance's decision log buffer to its sink periodically, see Limen.DecisionLog.Sink.

Summary

Functions

Returns a specification to start this module under a supervisor.

Drains the buffer of instance now and waits until it is done.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

flush(instance)

@spec flush(atom()) :: :ok

Drains the buffer of instance now and waits until it is done.