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

    Function newEther

    • Creates a new Ether.

      Type Parameters

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

      Parameters

      • selfSymbol: EtherSymbol<T>

        The unique symbol corresponding to the return type T.

      • handler: (deps: EtherDeps<D>) => T

        The function which creates an object of type T from the dependencies object.

      • depSymbols: D = ...

        The declaration of symbols by key, for handler which requires dependencies.

      Returns Ether.Ether<D, T>

      A new Ether having parameters as fields.