Skip to content

buildQueue

buildQueue<T>(clientSet): ClientStrategy<T>[][]

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

Build a queue by grouping and ordering a client set according to priority. Clients with the same priority are grouped together in the same array.

T extends ProcedureTypes

The ProcedureTypes to infer types from.

ClientConfig<T>[]

The client set.

ClientStrategy<T>[][]

An ordered array of ClientStrategy arrays.