DartFunctionAsync typedef

DartFunctionAsync = Future<int> Function(LuaState ls)

Asynchronous Dart function that can be called from Lua. Returns a Future that resolves to the number of values pushed onto the Lua stack.

Implementation

typedef DartFunctionAsync = Future<int> Function(LuaState ls);