getCombinableAsyncEither
import { getCombinableAsyncEither } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/async_either.ts";Create a Combinable instance for AsyncEither given Combinable instances for the Left and Right types.
@example
import * as AE from "./async_either.ts";
import * as N from "./number.ts";
import * as S from "./string.ts";
const combinable = AE.getCombinableAsyncEither(N.CombinableNumberSum, S.CombinableString);
const ae1 = AE.right(2);
const ae2 = AE.right(3);
const result = await combinable.combine(ae2)(ae1)(); // Right(5)
function getCombinableAsyncEither<A, B>(CA: Combinable<A>, CB: Combinable<B>): Combinable<AsyncEither<B, A>>;