https://github.com/PocketMine/Pocke.../src/pocketmine/scheduler/ServerScheduler.php But callback task is deprecated
PocketMine no longer uses it. Tasks that don't extend PluginTask will not be cancelled when the plugin is disabled, so /reload will result in the task being run twice