BaseFutureSessionService
Java-friendly base for implementing a SessionService. Every method of the engine interface is suspend; this base final-overrides each and asks the Java subclass for a CompletableFuture instead. Return each future promptly and do any blocking work inside it, not before returning it. The two methods with default bodies (closeSession, appendEvent) keep those defaults reachable: leave the hook unoverridden and the engine's own behaviour runs.
Functions
Appends an event to an in-memory session object and updates the session's state based on the event's state delta, if applicable.
Closes a session.
Creates a new session with the specified parameters.
Deletes a specific session.
Retrieves a specific session, optionally filtering the events included.
Lists the events within a specific session.
Lists sessions associated with a specific application and user.