• Maps item in a PromiseT by fn.

    Type Parameters

    • M

    Parameters

    • f: Functor<M>

      The instance for Functor of M.

    Returns (<T, U>(fn) => ((t) => PromiseT<M, U>))

    The transformed promise.

      • <T, U>(fn): ((t) => PromiseT<M, U>)
      • Type Parameters

        • T

        • U

        Parameters

        • fn: ((t) => U)
            • (t): U
            • Parameters

              • t: T

              Returns U

        Returns ((t) => PromiseT<M, U>)

Generated using TypeDoc