Difference between revisions of "Core.setAutoYield"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2025.2<br/> '''Class:''' Core<br/> === Description === Auto yields the function running as background task. <syntaxhighlight lang...") |
|||
Line 4: | Line 4: | ||
=== Description === | === Description === | ||
− | + | Changes auto yield capability of async tasks. | |
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
Core.setAutoYield(auto) | Core.setAutoYield(auto) |
Revision as of 20:00, 4 February 2025
Available since: Gideros 2025.2
Class: Core
Description
Changes auto yield capability of async tasks.
Core.setAutoYield(auto)
Parameters
auto: (boolean) enable/disable auto yield
- Core
- Core.asyncCall
- Core.asyncThread
- Core.class
- Core.enableAllocationTracking
- Core.fileLoad
- Core.fileSave
- Core.findReferences
- Core.frameStatistics
- Core.getScriptPath
- Core.profilerReport
- Core.profilerReset
- Core.profilerStart
- Core.profilerStop
- Core.random
- Core.randomSeed
- Core.setAutoYield
- Core.signal
- Core.stopping
- Core.yield
- Core.yieldable
- Core.yieldlock