Normandy.Behaviours.SessionStore.InMemory (normandy v1.1.1)

View Source

Process-backed in-memory SessionStore — the reference impl and default selection. Holds one AgentMemory per session_id plus an opaque turn-state map, in an Agent. Used for tests and library/single-node runs; not consumed by the turn loop in Phase 3.

Summary

Functions

Returns a specification to start this module under a supervisor.

Start a fresh store and return its handle (pid).

Functions

child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

new(opts \\ [])

@spec new(keyword()) :: pid()

Start a fresh store and return its handle (pid).

start_link(opts \\ [])

@spec start_link(keyword()) :: Agent.on_start()