BedrioxDOCUMENTATION
API INTERFACE

PluginScheduler

Public interface in Bedriox\Api\Scheduler.

Bedriox\Api\Scheduler\PluginScheduler
interfaceBedriox\Api\Scheduler

Public methods

nextTick(callable $callback): Bedriox\Api\Scheduler\TaskHandle

Typed public method.

delayed(int $delayTicks, callable $callback): Bedriox\Api\Scheduler\TaskHandle

Typed public method.

repeating(int $periodTicks, callable $callback): Bedriox\Api\Scheduler\TaskHandle

Typed public method.

delayedRepeating(int $delayTicks, int $periodTicks, callable $callback): Bedriox\Api\Scheduler\TaskHandle

Typed public method.

async(Bedriox\Api\Scheduler\AsyncTask $task, Bedriox\Api\Scheduler\AsyncTaskValue $input): Bedriox\Api\Scheduler\TaskHandle

Typed public method.

View exact source ↗