Skip to content

ClientConfig

Defined in: astrobase/src/rpc/client/client-set.ts:10

A config for an RPC client.

T extends ProcedureTypes

The ProcedureTypes to infer types from.

optional priority: number

Defined in: astrobase/src/rpc/client/client-set.ts:17

Assigns a priority to this client for async querying. Clients are queued up and queried one-after-the-other in order of priority, but when multiple callers have the same priority, they are queried simultaneously. Callers without a priority go to the end of the queue and are queried synchronously.


strategy: ClientStrategy<T>

Defined in: astrobase/src/rpc/client/client-set.ts:20

The ClientStrategy.