Module

x/functional/mod.ts>TaskPrototype

Common Functional Programming Algebraic data types for JavaScript that is compatible with most modern browsers and Deno.
Latest
interface TaskPrototype
import { type TaskPrototype } from "https://deno.land/x/functional@v1.3.4/mod.ts";

Methods

ap<T extends TaskPrototype<Z>>(container: T): this
chain<T extends TaskPrototype<Z>, K>(unaryFunction: (value: K) => T): this
map<K, Y>(unaryFunction: (value: K) => Y): this
of<K>(value: K): this
run(): Promise<any>
toString(): string