Repeat for [_] secs block

repeats code for a given number of seconds

repeat for [] secs{
}@loopArrow ::control

This is possible to create yourself:

Drag this script into the Snap! editor.

there is a version without processes too
Tan miter script pic(1)

The process version terminates immediately once the time is up. Yours waits until an iteration (loop) finishes. Neither is more correct than the other - it just depends on what the OP wants/needs.