Andrew Clark
952dfff3f1
Split suspended work loop logic into separate functions
...
Refactors the logic for handling when the work loop is suspended into
separate functions for replaying versus unwinding. This allows us to
hoist certain checks into the caller.
For example, when rendering due to flushSync, we will always unwind the
stack without yielding the microtasks.
No intentional behavior change in this commit.
2022-10-28 17:19:45 -07:00
..
2022-10-18 11:19:24 -04:00
2022-10-19 12:03:46 -07:00
2022-02-08 21:07:26 -05:00
2022-10-18 11:19:24 -04:00
2022-10-28 17:46:20 -04:00
2022-10-18 11:19:24 -04:00
2022-10-18 11:19:24 -04:00
2022-10-24 16:32:33 -07:00
2022-10-18 11:19:24 -04:00
2022-10-21 22:52:18 -04:00
2022-10-25 13:25:33 +11:00
2022-10-21 22:52:18 -04:00
2022-10-14 10:36:52 -07:00
2022-10-25 13:25:33 +11:00
2022-10-18 11:19:24 -04:00
2022-10-18 11:19:24 -04:00
2022-10-26 23:11:31 -07:00
2022-10-26 23:11:31 -07:00
2022-10-18 11:19:24 -04:00
2022-10-18 11:19:24 -04:00
2022-10-18 11:19:24 -04:00
2022-10-18 11:19:24 -04:00
2022-10-28 17:19:45 -07:00
2022-10-18 11:19:24 -04:00
2022-10-28 17:46:03 -04:00
2022-10-23 01:06:58 -04:00
2022-10-24 10:40:18 -07:00
2022-10-23 01:06:58 -04:00
2022-10-18 11:19:24 -04:00
2022-10-18 11:19:24 -04:00
2022-10-18 11:19:24 -04:00
2022-10-23 23:20:52 -04:00
2022-10-18 11:19:24 -04:00
2022-10-18 11:19:24 -04:00