MCPcopy Create free account
hub / github.com/expo/dev-plugins / Deferred

Interface Deferred

packages/react-navigation/webui/src/usePluginStore.ts:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5import type { Log } from './types';
6
7interface Deferred<T> {
8 promise: Promise<T>;
9 resolve: (value: T | PromiseLike<T>) => void;
10 reject: (reason?: any) => void;
11}
12
13const promiseMap = new Map<string, Deferred<any>>();
14

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected