Package dan200.computercraft.api.lua
Interface ILuaFunction
- Functional Interface:
 - This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
A function, which can be called from Lua. If you need to return a table of functions, it is recommended to use
 an object with 
LuaFunction methods, or implement IDynamicLuaObject.- See Also:
 
- 
Method Summary
Modifier and TypeMethodDescriptioncall(IArguments arguments) Call this function with a series of arguments. 
- 
Method Details
- 
call
Call this function with a series of arguments. Note, this will always be called on the computer thread, and so its implementation must be thread-safe.- Parameters:
 arguments- The arguments for this function- Returns:
 - The result of calling this function.
 - Throws:
 LuaException- Upon Lua errors.
 
 -