Wrapper object for a Lua function (annonimous or not) sent from a script for use as callback.
new(lua:State, ref:Int)
read onlyref:Int
Pointer to Lua function reserved for temporary use
@:value({ args : null })call(?args:Array<Dynamic>):Void
Runs this Lua function once, with the given arguments.
dispose():Void
Deallocates the pointer reserved for this callback. Make sure to call this once you're done using the function.