Are you an LLM? You can read better optimized documentation at /documentation/api/core/interfaces/CachedRpc.md for this page in Markdown format
ws-asyncapi API / core / CachedRpc
Interface: CachedRpc
Defined in: .api-entries/core/index.d.ts:534
The settled outcome of an RPC, replayable to duplicate requests.
Properties
ok
ok:
boolean
Defined in: .api-entries/core/index.d.ts:535
payload?
optionalpayload?:unknown
Defined in: .api-entries/core/index.d.ts:537
present when ok — the reply payload
code?
optionalcode?:ErrorCode
Defined in: .api-entries/core/index.d.ts:539
present when !ok
message?
optionalmessage?:string
Defined in: .api-entries/core/index.d.ts:540
data?
optionaldata?:unknown
Defined in: .api-entries/core/index.d.ts:541