Base interface of all tasks.
Signature:
interface BaseTask |
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
Promise<void> |
This promise resolves when the task completes or is canceled. Tasks that do not track progress, such as studying or working for a company, are non-completable, i.e., they continue indefinitely until canceled. The Among completable tasks, some are repeatable, i.e., they automatically restart after completion. The |