scheduler.yield() Demo
Instructions:
-
Choose either "One Long Task" or "Many Smaller Tasks"
button.
-
Immediately after clicking one of those buttons, quickly
click the "Accept Cookies" button.
-
Observe the delay in being notified "Here are your cookies"