ClientConfig
Defined in: astrobase/src/rpc/client/client-set.ts:10
A config for an RPC client.
Type Parameters
Section titled “Type Parameters”T
extends ProcedureTypes
The ProcedureTypes to infer types from.
Properties
Section titled “Properties”priority?
Section titled “priority?”
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
Section titled “strategy”strategy:
ClientStrategy
<T
>
Defined in: astrobase/src/rpc/client/client-set.ts:20
The ClientStrategy.