| 
    GenisysPro
    for Minecraft PE/Windows 10 v1.1.x
    
   Feature-rich server software for Minecraft PE and Windows 10 Edition 
   | 
 
Public Member Functions | |
| __construct (callable $callable, array $args=[]) | |
| getCallable () | |
| onRun ($currentTicks) | |
  Public Member Functions inherited from Task | |
| getHandler () | |
| getTaskId () | |
| setHandler ($taskHandler) | |
| onRun ($currentTick) | |
| onCancel () | |
Protected Attributes | |
| $callable | |
| $args | |
Allows the creation of simple callbacks with extra data The last parameter in the callback will be this object
If you want to do a task in a Plugin, consider extending PluginTask to your needs
| __construct | ( | callable | $callable, | 
| array | $args = []  | 
        ||
| ) | 
| getCallable | ( | ) | 
| onRun | ( | $currentTicks | ) | 
      
  | 
  protected | 
      
  | 
  protected |