ScheduledTaskCanceled
class ScheduledTaskCanceled
Dispatched when coroutine cancellation stops a scheduled task after its starting notification, before or while its outcome is published.
Methods
__construct(Event $task, Throwable $cancellation, float|null $runtime = null, Throwable|null $exception = null)
Create a new event instance.