docs(typert): sync Gateway type excerpt
This commit is contained in:
parent
d020f60911
commit
c5efa5ce9c
3 changed files with 6 additions and 6 deletions
|
|
@ -2,5 +2,5 @@
|
|||
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
||||
# after editing either side, bring the other along and re-record with:
|
||||
# pnpm run verify-translation-pairing --write docs/subsystems/typert.md
|
||||
typert.md: 04610aebf22ae16e77411757a4d1b8c501d70cea
|
||||
typert.zh.md: 5dc379d10ba6bb0f446440fb4fe898d87a347db0
|
||||
typert.md: bf43280f7fa01e6300caeaadeadb2c6c8f78cdd2
|
||||
typert.zh.md: c50663ad2546d864efc5648059dde735ae4de5bd
|
||||
|
|
|
|||
|
|
@ -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>>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue