Move TurboModuleManager to use RuntimeExecutor instead of jsContext#30416
Move TurboModuleManager to use RuntimeExecutor instead of jsContext#30416ejanzer wants to merge 1 commit into
Conversation
|
This pull request was exported from Phabricator. Differential Revision: D21338930 |
|
Base commit: 00e623d |
fc4b33e to
c03f7fc
Compare
c03f7fc to
8889bbe
Compare
|
This pull request was exported from Phabricator. Differential Revision: D21338930 |
8889bbe to
33ec142
Compare
|
This pull request was exported from Phabricator. Differential Revision: D21338930 |
33ec142 to
e377c77
Compare
…acebook#30416) Summary: Pull Request resolved: facebook#30416 This diff changes the constructor param for TurboModuleManager from jsContext (a long representing the `jsi::Runtime` pointer) to a RuntimeExecutor. It also updates callsites to use the new RuntimeExecutor created by CatalystInstance. This is only used for installing the TurboModule JSI binding; it's not currently used for JS invocation in TurboModules, which is handled separately by JSCallInvoker. Ultimately we may be able to implement JSCallInvoker *with* the provided RuntimeExecutor, but there's some additional logic in JSCallInvoker that we don't have here yet. Changelog: [Internal] Reviewed By: RSNara Differential Revision: D21338930 fbshipit-source-id: 76074326a55d85fcf0f79125b2e7043203231dfd
|
This pull request was exported from Phabricator. Differential Revision: D21338930 |
e377c77 to
8cbc89a
Compare
Base commit: 00e623d |
|
This pull request was successfully merged by @ejanzer in c0a2998. When will my fix make it into a release? | Upcoming Releases |
Summary:
This diff changes the constructor param for TurboModuleManager from jsContext (a long representing the
jsi::Runtimepointer) to a RuntimeExecutor. It also updates callsites to use the new RuntimeExecutor created by CatalystInstance. This is only used for installing the TurboModule JSI binding; it's not currently used for JS invocation in TurboModules, which is handled separately by JSCallInvoker. Ultimately we may be able to implement JSCallInvoker with the provided RuntimeExecutor, but there's some additional logic in JSCallInvoker that we don't have here yet.Changelog: [Internal]
Reviewed By: RSNara
Differential Revision: D21338930