BedrioxDOCUMENTATION
API CLASS

AsyncTask

Process-isolated work with main-thread lifecycle callbacks.

Bedriox\Api\Scheduler\AsyncTask
classBedriox\Api\Scheduler

Public methods

onRun(Bedriox\Api\Scheduler\AsyncTaskValue $input): Bedriox\Api\Scheduler\AsyncTaskValue

Typed public method.

onCompletion(Bedriox\Api\Scheduler\AsyncTaskValue $result, Bedriox\Api\Plugin\PluginContext $context): void

Typed public method.

onFailure(Bedriox\Api\Scheduler\AsyncTaskFailure $failure, Bedriox\Api\Plugin\PluginContext $context): void

Typed public method.

View exact source ↗