react-native
react-native copied to clipboard
Add method to specify a custom timeout
Summary: The RuntimeScheduler now has some fixed timouts depending on the priority selected when scheduling a task.
However, some JS APIs like the requestIdleCallback allow the user to specify a custom timeout for the task. This change introduces this new APIs
Changelog:
[General][Added] - Add APIs to specify a custom timeout in the Runtime Scheduler
Differential Revision: D56476044
This pull request was exported from Phabricator. Differential Revision: D56476044
| Platform | Engine | Arch | Size (bytes) | Diff |
|---|---|---|---|---|
| android | hermes | arm64-v8a | 19,476,479 | +32,786 |
| android | hermes | armeabi-v7a | n/a | -- |
| android | hermes | x86 | n/a | -- |
| android | hermes | x86_64 | n/a | -- |
| android | jsc | arm64-v8a | 22,849,938 | +32,782 |
| android | jsc | armeabi-v7a | n/a | -- |
| android | jsc | x86 | n/a | -- |
| android | jsc | x86_64 | n/a | -- |
Base commit: 78ab5f4b836d64b71760754c7cce1315630640c7 Branch: main
Abandoned internally