MCPcopy
hub / github.com/remix-run/react-router / race

Function race

packages/react-router-node/stream.ts:96–98  ·  view source on GitHub ↗
(promise: Promise<T>)

Source from the content-addressed store, hash-verified

94 return {
95 cleanup,
96 race<T>(promise: Promise<T>) {
97 return Promise.race([promise, writableErrorPromise]);
98 },
99 throwIfClosed() {
100 if (writableError) {
101 throw writableError;

Callers

nothing calls this directly

Calls 1

raceMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…