mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Merged master into php7 to support 0.13.1
This commit is contained in:
@ -22,13 +22,14 @@
|
||||
namespace pocketmine\scheduler;
|
||||
|
||||
use pocketmine\Server;
|
||||
use pocketmine\Collectable;
|
||||
|
||||
/**
|
||||
* Class used to run async tasks in other threads.
|
||||
*
|
||||
* WARNING: Do not call PocketMine-MP API methods, or save objects from/on other Threads!!
|
||||
*/
|
||||
abstract class AsyncTask extends \Collectable{
|
||||
abstract class AsyncTask extends Collectable{
|
||||
|
||||
/** @var AsyncWorker $worker */
|
||||
public $worker = null;
|
||||
|
Reference in New Issue
Block a user