Class SessionEventLogApi
java.lang.Object
com.github.copilot.generated.rpc.SessionEventLogApi
API methods for the
eventLog namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionread(SessionEventLogReadParams params) Reads a batch of session events from a cursor, optionally waiting for new events.Registers consumer interest in an event type for runtime gating purposes.Releases a consumer's previously-registered interest in an event type.tail()Returns a snapshot of the current tail cursor without consuming events.
-
Method Details
-
read
@CopilotExperimental public CompletableFuture<SessionEventLogReadResult> read(SessionEventLogReadParams params) Reads a batch of session events from a cursor, optionally waiting for new events. Supports tail-first reads via `direction: backward`.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
tail
Returns a snapshot of the current tail cursor without consuming events.- Since:
- 1.0.0
-
registerInterest
@CopilotExperimental public CompletableFuture<SessionEventLogRegisterInterestResult> registerInterest(SessionEventLogRegisterInterestParams params) Registers consumer interest in an event type for runtime gating purposes.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
releaseInterest
@CopilotExperimental public CompletableFuture<SessionEventLogReleaseInterestResult> releaseInterest(SessionEventLogReleaseInterestParams params) Releases a consumer's previously-registered interest in an event type.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-