Client SDKsNode.jsHow-to guidesRPC
RPC Examples
Commands and queries: request–reply, timeouts, groups, and caching. (Node.js SDK).
Commands and queries: request–reply, timeouts, groups, and caching.
Send Command
Send a command and wait for response
Handle Command
Register a handler for incoming commands
Command Timeout
Handle command execution timeouts
Command Group
Load-balance commands across handlers
Send Query
Send a query and receive data response
Handle Query
Register a handler for incoming queries
Cached Query
Use query response caching
Query Group
Load-balance queries across handlers
Was this page helpful?