SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Inline Task.call without Executor (#49906)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/49906

Task.call is equivalent to a try-catch and wrapping the result in a Task. Inlining this is cheaper than creating a TaskCompletionSource and a Runnable.

Changelog: [Internal]

Reviewed By: cortinico

Differential Revision: D70803554

fbshipit-source-id: 0886176be974eff67c983ce1475ad685a8021b14
P
Pieter De Baets committed
d8181721f65f79d171ce39cedae05cbf78b195d2
Parent: d998b7b
Committed by Facebook GitHub Bot <[email protected]> on 3/10/2025, 2:51:23 PM