• Maps and flatten an item in the promise by fn.

    Type Parameters

    • T

    • U

    Parameters

    • fn: ((t) => Promise<U>)

      The function to transform T into U.

        • (t): Promise<U>
        • Parameters

          • t: T

          Returns Promise<U>

    Returns ((t) => Promise<U>)

    The transformed promise.

      • (t): Promise<U>
      • Parameters

        • t: Promise<T>

        Returns Promise<U>

Generated using TypeDoc