W3cubDocs

/Haxe

MainLoop

package haxe

@:access(haxe.MainEvent) Available on all platforms

Static variables

static read only threadCount:Int

Static methods

@:value({ priority : 0 }) static add (f:Void ‑> Void, priority:Int = 0):MainEvent

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

static addThread (f:Void ‑> Void):Void

static inline hasEvents ():Bool

static runInMainThread (f:Void ‑> Void):Void

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