send

abstract suspend fun <Req, Res> send(request: Request<Req, Res>, delay: Duration? = null): InvocationHandle<Res>

Invoke another Restate handler without waiting for the response.

Return

an InvocationHandle to interact with the sent request.

Parameters

request

Request object. For each service, a class called <your_class_name>Handlers is generated containing the request builders.

delay

The delay to send the request, if any.