KRequest
Kotlin-idiomatic request for invoking Restate services from within a handler.
Example usage:
toService<CounterKt>()
.request { add(1) }
.options { idempotencyKey = "123" }
.call()Content copied to clipboard
Parameters
Req
the request type
Res
the response type
Functions
Link copied to clipboard
Call the target handler and return a CallDurableFuture for the result.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Send the request without waiting for the response.
Link copied to clipboard