type alias TaskConstructor
Private

The call-or-construct type of the exported Task value: the class's statics and construct signature, intersected with a plain call signature.

Definition

TaskClass
& { <T, E = AnyFailure>(source: PromiseLike<T> | Recipe<T> | Executor<T> | null | undefined): TaskClass<T, E>; }

Usage

import { type TaskConstructor } from "lib/task/task.ts";