MCPcopy
hub / github.com/facebook/react / then

Method then

packages/shared/ReactTypes.js:100–100  ·  view source on GitHub ↗
(onFulfill: () => mixed, onReject: () => mixed)

Source from the content-addressed store, hash-verified

98// This doesn't require a value to be passed to either handler.
99export interface Wakeable {
100 then(onFulfill: () => mixed, onReject: () => mixed): void | Wakeable;
101}
102
103// The subset of a Promise that React APIs rely on. This resolves a value.

Callers 15

runTaskFunction · 0.65
normalizeIOInfoFunction · 0.65
handleClickFunction · 0.65
handleMouseOutFunction · 0.65
readInputFixturesFunction · 0.65
readOutputFixturesFunction · 0.65
runFixturesFunction · 0.65
reassignFunction · 0.65
queryAlgoliaFunction · 0.65
handleShareFunction · 0.65
handleMountFunction · 0.65

Calls

no outgoing calls

Tested by 3

handleClickFunction · 0.52
handleMouseOutFunction · 0.52
reassignFunction · 0.52