You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add IEventLoopControl APIs to hermes-interface (#55431)
Summary:
Pull Request resolved: #55431
Adds `ISetEventLoopControl` to the Hermes-specific JSI. This interface
specifies an user-defined, thread-safe function to schedule some task
provided by the Hermes VM.
The Hermes VM may use this function to "ask" the integrator to run some
arbitrary task when the integrator has exclusive control of the runtime.
Notably, this is useful for the Hermes implementation of Workers, where
the Worker thread may ask the integrator to process an event.
Changelog: [Internal]
Reviewed By: lavenzg
Differential Revision: D91905969
fbshipit-source-id: c006d613862611bb01860a38a99c8881acd0355c
0 commit comments