ts-lambda-api - v2.5.3
    Preparing search index...

    Type Alias Provider<TActivated, TArgs>

    Provider: (...args: TArgs) => Promise<TActivated>

    Type Parameters

    • TActivated
    • in TArgs extends unknown[] = any[]

    Type Declaration

    Use Factory instead. Provider will be removed in v8. Providers exist for historical reasons from v5 when async dependencies weren't supported. Factories are more flexible and can handle both sync and async operations.