|
| $queue |
|
| $tasks = [] |
|
| $asyncPool |
|
| $currentTick = 0 |
|
Submits an asynchronous task to the Worker Pool
- Parameters
-
- Returns
- void
scheduleAsyncTaskToWorker |
( |
AsyncTask |
$task, |
|
|
|
$worker |
|
) |
| |
Submits an asynchronous task to a specific Worker in the Pool
- Parameters
-
- Returns
- void
scheduleDelayedRepeatingTask |
( |
Task |
$task, |
|
|
|
$delay, |
|
|
|
$period |
|
) |
| |
- Parameters
-
Task | $task | |
int | $delay | |
int | $period | |
- Returns
- null|TaskHandler
scheduleDelayedTask |
( |
Task |
$task, |
|
|
|
$delay |
|
) |
| |
- Parameters
-
- Returns
- null|TaskHandler
scheduleRepeatingTask |
( |
Task |
$task, |
|
|
|
$period |
|
) |
| |
- Parameters
-
- Returns
- null|TaskHandler
scheduleTask |
( |
Task |
$task | ) |
|
- Parameters
-
- Returns
- null|TaskHandler
The documentation for this class was generated from the following file:
- /Users/Kids/Desktop/Doxygen/pocketmine/scheduler/ServerScheduler.php