method Task.prototype.run
Task.prototype.run(): Promise<T>

Executes the task and resolves the value or throws the error.

Return Type

Promise<T>

Usage

import { Task } from ".";