MCPcopy
hub / github.com/ag-grid/ag-grid / then

Function then

community-modules/core/src/utils/promise.test.ts:65–65  ·  view source on GitHub ↗
(value: number)

Source from the content-addressed store, hash-verified

63 let receivedValue = 0;
64
65 const then = (value: number) => (receivedValue = value);
66
67 const promise = new AgPromise(initial);
68 promise.then(then);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected