mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
1b592631a7
Summary: Changelog: [internal] Current implementation of `AsynchronousEventBeat` dispatches lambdas through `RuntimeExecutor` regardless if it has done so previously. So if `AsynchronousEventBeat::induce` is called 30 times, it will dispatch 30 lambdas. In `AsynchronousEventBeatV2`, we make sure only single lambda is dispatched to `RuntimeExecutor` at a time. Reviewed By: mdvacca Differential Revision: D27940300 fbshipit-source-id: 2bad25c86315c1712b4a1da8c1d4702734cec70f