bind

Add a Restate service to the endpoint. This will automatically discover the generated factory based on the class name.

You can also manually instantiate the ServiceDefinition using bind.


Add a Restate service to the endpoint.

To set the options, use bind.


open fun <O> bind(serviceDefinition: ServiceDefinition<O>, options: O): RestateLambdaEndpointBuilder

Add a Restate service to the endpoint, setting the options.