Class HandlerRunner.Options

java.lang.Object
dev.restate.sdk.HandlerRunner.Options
All Implemented Interfaces:
dev.restate.sdk.endpoint.definition.HandlerRunner.Options
Enclosing class:
HandlerRunner<REQ,RES>

public static final class HandlerRunner.Options extends Object implements dev.restate.sdk.endpoint.definition.HandlerRunner.Options
HandlerRunner options. You can override the default options to configure the executor where to run the handlers.

You can run on virtual threads by using the executor Executors.newVirtualThreadPerTaskExecutor().