PublisherRunner
Java-friendly wrapper around a Runner. A run is exposed as a Reactive Streams Publisher of events, so Java callers never touch Flow; collect it with AsyncJavaHelpers.collect/forEach or any Reactive Streams consumer. Session management is not a runner concern -- reach the session service via asKotlinRunner().sessionService (or wrap it in a BaseFutureSessionService).
Functions
Link copied to clipboard
The wrapped engine runner, for code that has dropped into Kotlin.
Link copied to clipboard
fun rewindAsync(userId: String, sessionId: String, rewindBeforeInvocationId: String): CompletableFuture<Void?>
Rewinds the session to before rewindBeforeInvocationId; see Runner.rewindAsync. The returned future completes once the rewind has been applied.
Link copied to clipboard