Available on all platforms
This class exists for backward compatibility. You should use haxe.EventLoop instead.
@:value({ priority : 0 })staticadd(f:() ‑> Void, priority:Int = 0):MainEvent