Package com.kraken.api.core.script
Interface Scriptable
-
- All Known Implementing Classes:
Script
public interface ScriptableInterface representing a script that can be executed. Implementations of this interface define the main loop of a script.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonStart()voidonStop()voidstop(java.lang.Runnable callback)Gracefully stops a running asynchronous loop().
-