Difference between revisions of "Yield"
Jump to navigation
Jump to search
ZachStrout (talk | contribs) (Created page with "<c>yield</c> pauses the execution of the script until the next "tick" of the host app. === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning...") |
|||
Line 11: | Line 11: | ||
− | + | In Mini Micro, for example, this waits until | |
− | |||
− | |||
the next 60Hz frame. Exact meaning may very, but generally | the next 60Hz frame. Exact meaning may very, but generally | ||
if you're doing something in a tight loop, calling yield is | if you're doing something in a tight loop, calling yield is | ||
− | polite to the host app or other scripts. | + | polite to the host app or other scripts. |
[[Category:Intrinsic Functions]] | [[Category:Intrinsic Functions]] |
Revision as of 20:54, 17 November 2020
yield
pauses the execution of the script until the next "tick" of the host app.
Arguments
Parameter Name | Default Value | Meaning |
---|---|---|
paramnamd1 | type | description |
In Mini Micro, for example, this waits until
the next 60Hz frame. Exact meaning may very, but generally
if you're doing something in a tight loop, calling yield is
polite to the host app or other scripts.