EntryPoint

EntryPoint

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.

Static variables

static read only threadCount:Int = 0

Static methods

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

static run ():Void

Start the main loop. Depending on the platform, this can return immediately or will only return when the application exits.

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

static wakeup ():Void

Wakeup a sleeping run()

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/haxe/EntryPoint.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部