wirebox
    Preparing search index...

    Type Alias ProviderInfo<TValue>

    ProviderInfo:
        | { async?: false; getValue: (ctx: Context) => TValue }
        | { async: true; getValue: (ctx: Context) => Promise<TValue> | TValue }

    The provider information used to resolve a value.

    Type Parameters

    • TValue = unknown

      The value type provided by the provider.