Skip to main content
Declare execution frequency for a @program block. Used as while tick(hz=10): or while tick(): inside a @program function. The AST compiler extracts the frequency; at local-execution time the object is truthy so the while loop runs as a blocking loop. Use break to exit the loop. tick() with no arguments means “completion-driven”: the loop body runs once, waits for all nodes to finish, then repeats.

Constructor

Signature

Related topics

Your first skill