Coroutine.isyieldable
From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Available since: Gideros 2022.3
Class: coroutine
Description
Returns true if the coroutine this function is called within can safely yield.
(boolean) = coroutine.isyieldable()
Yielding a coroutine inside metamethods or C functions is prohibited, with the exception of pcall and xpcall
Return values
Returns (boolean) result