Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AsyncEither

import type { AsyncEither } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/async_either.ts";

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.

type AsyncEither<L, R> = Async<Either<L, R>>;

§Type Parameters

§Type