mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
[Flight] Complete list of Node.js' internal Promise awaits (#35161)
This commit is contained in:
1 parent
45bc3c9f04
commit
7df96b0c1a
1 file changed
+2
@@ -339,8 +339,10 @@ function isPromiseAwaitInternal(url: string, functionName: string): boolean {
|
||||
case 'Function.resolve':
|
||||
case 'Function.all':
|
||||
case 'Function.allSettled':
|
||||
case 'Function.any':
|
||||
case 'Function.race':
|
||||
case 'Function.try':
|
||||
case 'Function.withResolvers':
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user