EventStore
Interface for resumability support via event storage
Functions
Link copied to clipboard
Returns the stream ID associated with eventId, or null if the event is unknown. Default implementation is a no-op which disables extra validation during replay.
Link copied to clipboard
abstract suspend fun replayEventsAfter(lastEventId: String, sender: suspend (eventId: String, message: JSONRPCMessage) -> Unit): String
Replays events after the specified event ID
Link copied to clipboard
Stores an event for later retrieval