package haxe
Available on all platforms
If haxe.MainLoop
is kept from DCE, then we will insert an haxe.EntryPoint.run()
call just at then end of main()
. This class can be redefined by custom frameworks so they can handle their own main loop logic.
staticread onlythreadCount:Int = 0
staticaddThread(f:() ‑> Void):Void
staticrun():Void
Start the main loop. Depending on the platform, this can return immediately or will only return when the application exits.
staticrunInMainThread(f:() ‑> Void):Void
staticwakeup():Void
run()
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/EntryPoint.html