@mikuroxina/mini-fn
    Preparing search index...

    Variable applyConst

    apply: <T, U>(fn: Promise<(t: T) => U>) => (t: Promise<T>) => Promise<U> = ...

    Applies the function in promise.

    Type Declaration

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

        • T
        • U

        Parameters

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

          The promise of function.

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

        The applied promise.