|
|
@@ -191,14 +191,14 @@ interface TypertGateway {
|
|
|
/**
|
|
|
* Invoke one live Remote method without assuming a carrier or response envelope.
|
|
|
* @param request - decoded endpoint and named wire arguments.
|
|
|
- * @returns the validated business result.
|
|
|
+ * @returns the business result without output decoding.
|
|
|
* @throws {@link TypertGatewayError} for dispatch, provider, or boundary failures; lookup-policy and business errors retain identity.
|
|
|
*/
|
|
|
invoke(request: InvokeRemoteRequest): Promise<unknown>
|
|
|
/**
|
|
|
* Open one live stream Remote method without assuming a physical carrier.
|
|
|
* @param request - decoded endpoint and named wire arguments.
|
|
|
- * @returns an iterable whose items have passed the generated result codec.
|
|
|
+ * @returns a cancellation-aware iterable over the business results.
|
|
|
*/
|
|
|
stream(request: InvokeRemoteRequest): Promise<AsyncIterable<unknown>>
|
|
|
}
|