Constructors
constructor
- new Task(target): Task
- This method does not return any value.
Properties
Readonly
target
target: Promise<any>
Accessors
status
- get status(): "pending" | "fulfilled" | "rejected"
Returns "pending" | "fulfilled" | "rejected"
The value of the status.
A class representing a task.