flatmap
import { flatmap } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/async.ts";Chain Async computations together.
@example
import { flatmap } from "./async.ts";
import { wrap } from "./async.ts";
import { pipe } from "./fn.ts";
const result = pipe(
wrap(5),
flatmap(n => wrap(n * 2))
);
const value = await result(); // 10