Continuum.Runtime.Journal.InMemory (continuum v0.5.0)

Copy Markdown View Source

In-memory journal backed by a single GenServer.

Used by tests and by Continuum.Test. Not durable — process death loses all journaled events.

Summary

Functions

Returns a specification to start this module under a supervisor.

Return the full state of all runs known to the in-memory journal.

Wipe all journals. Test helper only.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

dump()

Return the full state of all runs known to the in-memory journal.

reset()

Wipe all journals. Test helper only.

start_link(opts \\ [])