@lppedd/di-wise-neo - v0.6.0
    Preparing search index...

    Interface FactoryProvider<Value>

    Provides a value for a token via a factory function.

    The factory function runs inside the injection context and can thus access dependencies via inject-like functions.

    interface FactoryProvider<Value> {
        useFactory: (...args: []) => Value;
    }

    Type Parameters

    • Value
    Index

    Properties

    Properties

    useFactory: (...args: []) => Value