StaticJsTaskCompletedError
Thrown when a task method is called after the task has already finished.
Import
import { StaticJsTaskCompletedError } from "@suntime-js/core";
Extends
Error → StaticJsTaskError → StaticJsTaskCompletedError
When thrown
Thrown by task.next(), task.abort(), and task.throw() when called on a task whose done property is already true. Check task.done before calling these methods if task completion may race with your runner loop.