Function Lazy

  • Create a lazy reference to a value. This is typically used to signal to @InjectAll that a reference must not be eagerly loaded, e.g. in the case of cyclic dependencies.

    Type Parameters

    Parameters

    • fn: (() => TIdentifier)
        • (): TIdentifier
        • Returns TIdentifier

    Returns TypeWrapper<TIdentifier, TInstance>

Generated using TypeDoc