HandlerRunner

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class Options(val coroutineContext: CoroutineContext) : HandlerRunner.Options

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>