Appends an event to a session.
The request to append an event.
A promise that resolves to the event that was appended.
Creates a new session.
The request to create a session.
A promise that resolves to the newly created session instance.
Deletes a session.
The request to delete a session.
A promise that resolves when the session is deleted.
Gets a session.
The request to get a session.
A promise that resolves to the session instance or undefined if not found.
Lists sessions for a user.
The request to list sessions.
A promise that resolves to a list of sessions for the user.
An in-memory implementation of the session service.