Skip to main content
Module

x/fun/mod.ts>promise.join

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Go to Latest
function promise.join
import { promise } from "https://deno.land/x/fun@v2.0.0-alpha.6/mod.ts";
const { join } = promise;

This function theoretically flattens A Promise<Promise>. However, there is a need for this function in Monad. Since there is no way to actually create the input of this function, there is no example.

Parameters

uua: Promise<Promise<A>>

Returns

Promise<A>