MCPcopy
hub / github.com/heroku/react-refetch / race

Method race

src/index.d.ts:22–22  ·  view source on GitHub ↗
(iterable: Iterable<PromiseState<any>>)

Source from the content-addressed store, hash-verified

20 reject<T = {}>(reason?: any, meta?: any): RejectedPromiseState<T>;
21 all<T = {}>(iterable: Iterable<PromiseState<any>>): PromiseState<T[]>;
22 race<T = {}>(iterable: Iterable<PromiseState<any>>): PromiseState<T>;
23}
24
25interface PromiseStateBase<T = {}> {

Callers 1

Implementers 1

PromiseStatesrc/PromiseState.js

Calls

no outgoing calls

Tested by

no test coverage detected