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

Function isThenableResolved

packages/react-reconciler/src/ReactFiberThenable.js:102–105  ·  view source on GitHub ↗
(thenable: Thenable<mixed>)

Source from the content-addressed store, hash-verified

100}
101
102export function isThenableResolved(thenable: Thenable<mixed>): boolean {
103 const status = thenable.status;
104 return status === 'fulfilled' || status === 'rejected';
105}
106
107export function trackUsedThenable<T>(
108 thenableState: ThenableState,

Callers 1

renderRootConcurrentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected