react-native icon indicating copy to clipboard operation
react-native copied to clipboard

introduce PriorityCallInvoker

Open philIip opened this issue 1 year ago • 2 comments

Summary: Changelog: [Internal]

in this change, we introduce a new CallInvoker that will replace BridgelessJSCallInvoker. instead of RuntimeExecutor, this CallInvoker is powered by a PriorityRuntimeExecutor, meaning that its underlying runtime execution has access to priorities passed in from userland.

we can now hook this up to the getPriorityRuntimeExecutor provided by ReactInstance in order to pass down scheduling priorities to the runtime scheduler, instead of always using the default.

note that this change is internal still - userland only needs to know about the CallInvoker type.

Differential Revision: D56455634

philIip avatar Apr 23 '24 06:04 philIip

This pull request was exported from Phabricator. Differential Revision: D56455634

facebook-github-bot avatar Apr 23 '24 06:04 facebook-github-bot