Package dan200.computercraft.api.lua
Interface ILuaCallback
public interface ILuaCallback
A continuation which is called when this coroutine is resumed.
-
Method Summary
Modifier and TypeMethodDescriptionResume this coroutine.
-
Method Details
-
resume
Resume this coroutine.- Parameters:
args- The result of resuming this coroutine. These will have the same form as described inLuaFunction.- Returns:
- The result of this continuation. Either the result to return to the callee, or another yield.
- Throws:
LuaException- On an error.
-