@samitouri / QOS-React-1 Mirror · read-only / commits / 7df96b0c1a
Fork 0

The library for web and native user interfaces.

Mirrored from https://github.com/247TaxiDriver/QOS-React.git

Synced Nov 7, 01:30 UTC

[Flight] Complete list of Node.js' internal Promise awaits (#35161)

Sebastian "Sebbie" Silbermann committed Nov 17, 2025 at 19:28 UTC 7df96b0c1a1a65c46130628899a2e2098e30cbfd
1 file changed +2
packages/react-server/src/ReactFlightServer.js
+2
@@ -339,8 +339,10 @@ function isPromiseAwaitInternal(url: string, functionName: string): boolean {
339 case 'Function.resolve':
340 case 'Function.all':
341 case 'Function.allSettled':
342 + case 'Function.any':
343 case 'Function.race':
344 case 'Function.try':
345 + case 'Function.withResolvers':
346 return true;
347 default:
348 return false;