GenServer holding a bounded working memory buffer for a single scope.
State: %{scope_id: binary(), entries: [%{id, importance, content, metadata, inserted_at}], max: pos_integer()}
Summary
Functions
Returns a specification to start this module under a supervisor.
Clear all entries from working memory.
Push a new entry into the working memory buffer.
Read all entries, sorted by importance DESC.
Get the scope_id for this server.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Clear all entries from working memory.
Push a new entry into the working memory buffer.
Read all entries, sorted by importance DESC.
Get the scope_id for this server.