I created a pull request for a PluginCallbackTask. This has not been accepted yet. You can use the code directly if you want. It is all in github.
This is my alternative to CallbackTask: https://github.com/alejandroliu/Poc...c/pocketmine/scheduler/PluginCallbackTask.php