ScratchData LogoScratchData
Back to _nix's profile

Run without screen refresh "broadcast and wait" timing

_N_nix•Created January 29, 2021
Run without screen refresh "broadcast and wait" timing
2
2
71 views
View on Scratch

Description

This demonstrates the in-practice, observed timing between "broadcast and wait" in a run-without-screen-refresh custom block, and its receiver, as well as when the main script itself finishes. Keep in mind the 500ms delay which custom blocks will reach if their contents don't finish, hence the notable (10^-5) duration between start and stop. Note the duration between receive and stop is 10^-7, a much less significant duration (magnitude of ~2 smaller). This shows the receiving script doesn't run until after the 500ms have passed, and once it has run, (approximately) immediately passes control back to the original script. The delay between start-stop and start-receive being approximately the same (10^-5 in both cases) also reflects these observations.

Project Details

Project ID481015064
CreatedJanuary 29, 2021
Last ModifiedJanuary 30, 2021
SharedJanuary 30, 2021
Visibilityvisible
CommentsAllowed