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

    Function compose

    • Composes two Ethers into a new one. Injects lower into upper.

      Type Parameters

      • const D extends Record<string, symbol>
      • T

      Parameters

      • lower: Ether.Ether<D, T>

        The lower dependency, which will be injected, such as a database adaptor.

      Returns <const E extends Record<string, symbol>, U>(
          upper: Ether.Ether<E, U>,
      ) => Ether.Ether<OmitType<E, T> & D, U>

      The injected Ether, which will be resolved the matching dependencies on upper with lower's handler.