W3cubDocs

/Haxe

MainLoop

package haxe

Available on all platforms

Static variables

staticread onlythreadCount:Int

Static methods

staticadd(f:() ‑> Void, priority:Int = 0):MainEvent

Add a pending event to be run into the main loop.

staticaddThread(f:() ‑> Void):Void

statichasEvents():Bool

staticrunInMainThread(f:() ‑> Void):Void

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/MainLoop.html