Core.yield

From GiderosMobile
Revision as of 10:04, 23 August 2018 by Hgy29 (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2016.06<br/> === Description === Yield function running as background task. Core.yield([number of seconds to wait]) Core.yield(true)...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2016.06

Description

Yield function running as background task.

Core.yield([number of seconds to wait]) Core.yield(true) -- yield for a single frame and disable auto yield

Core.yield(false) -- don't yield now, but reenable autoyield
= Core.yield(state,)

'state: (number or boolean) number of seconds to yield or boolean to enable/disable auto yield '