Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/eitherway/lib/async/tasks.ts>InferredSuccessUnion

Yet Another Option and Result Implementation - providing safe abstractions for fallible flows inspired by F# and Rust
Latest
type alias InferredSuccessUnion
import { type InferredSuccessUnion } from "https://deno.land/x/eitherway@0.10.0/lib/async/tasks.ts";

Use this to infer a union of all encapsulated <T> types from a tuple of Task<T,E>

Type Parameters

P extends Readonly<ArrayLike<PromiseLike<Result<unknown, unknown>>>>
definition: InferredSuccessTuple<P>[number]