import { type async_either } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { AsyncEither } = async_either;
The AsyncEither type can best be thought of as an asynchronous function that
returns an Either
. ie. async () => Promise<Either<B, A>>
. This
forms the basis of most Promise based asynchronous communication in
TypeScript.