ExAthena.Sessions.Stores.InMemory (ExAthena v0.4.2)

Copy Markdown View Source

ETS-backed in-memory session store. Default; ephemeral.

All events live in a single shared :ordered_set ETS table keyed by {session_id, monotonic_time} so reads are naturally in append-order without a per-event cursor.

Summary

Functions

Returns a specification to start this module under a supervisor.

Test helper: wipe all events. Not part of the Store contract.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

reset()

@spec reset() :: :ok

Test helper: wipe all events. Not part of the Store contract.