toService
Create a builder for invoking a Restate service.
Example usage:
val response = client.toService<Greeter>()
.request { greet("Alice") }
.call()Content copied to clipboard
Return
a builder for creating typed requests
Parameters
SVC
the service class annotated with @Service