HandlerRunner
Adapter class for dev.restate.sdk.endpoint.definition.HandlerRunner to use the Kotlin API.
Types
Link copied to clipboard
dev.restate.sdk.kotlin.HandlerRunner options. You can override the default options to configure the CoroutineContext to run the handler.
Functions
Link copied to clipboard
open override fun run(handlerContext: HandlerContext, requestSerde: Serde<REQ>, responseSerde: Serde<RES>, onClosedInvocationStreamHook: AtomicReference<Runnable>): CompletableFuture<Slice>