Cancellable
このコンテンツはまだ日本語訳がありません。
Defined in: src/Scheduler.ts:4
A handle that lets callers cancel a scheduled task.
Properties
Section titled “Properties”isCancelled
Section titled “isCancelled”
readonlyisCancelled:boolean
Defined in: src/Scheduler.ts:15
Whether the schedule is finished: cancelled, or — for a one-shot — fired. A repeating schedule is only finished once it is cancelled.
Methods
Section titled “Methods”cancel()
Section titled “cancel()”cancel():
boolean
Defined in: src/Scheduler.ts:10
Cancel the schedule. true when this call did the cancelling, false
when there was nothing left to cancel — already cancelled, or a one-shot
that has already fired.
Returns
Section titled “Returns”boolean
