Add ability to schedule JS functions as tasks from turbo modules#35525
Add ability to schedule JS functions as tasks from turbo modules#35525rshest wants to merge 1 commit into
Conversation
Summary: [Changelog][Internal] Adds ability to invoke an async JS callback from a C++ native module, as a task with priority. This will allow native modules to schedule less important calls to JS thread with lower priority. One example use case is feeding collected perf metrics back to JS. Reviewed By: javache Differential Revision: D41492849 fbshipit-source-id: 99758ee9deb4c5c4b6f9dd2ac329126754df396d
|
This pull request was exported from Phabricator. Differential Revision: D41492849 |
|
Base commit: da4243b |
Base commit: da4243b |
|
PR build artifact for 1bbc1f2 is ready. |
|
PR build artifact for 1bbc1f2 is ready. |
|
This pull request was successfully merged by Ruslan Shestopalyuk in e2c4941. When will my fix make it into a release? | Upcoming Releases |
Summary:
[Changelog][Internal]
Adds ability to invoke an async JS callback from a C++ native module, as a task with priority.
This will allow native modules to schedule less important calls to JS thread with lower priority. One example use case is feeding collected perf metrics back to JS.
Reviewed By: javache
Differential Revision: D41492849