import { promise } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { FlatmappablePromise } = promise;
The canonical implementation of Flatmappable for Promise. It contains the methods wrap, apply, map, and flatmap.
type
Flatmappable<KindPromise>