@bluelibs/runner - v6.3.1
    Preparing search index...

    Type Alias CacheProviderInput

    Context passed to each cache provider instance factory. Providers always create a cache instance for one task at a time.

    type CacheProviderInput = {
        options: CacheFactoryOptions;
        sharedBudget?: SharedCacheBudgetState;
        taskId: string;
        totalBudgetBytes?: number;
    }
    Index

    Properties

    options: CacheFactoryOptions

    Effective cache options after resource and middleware defaults are merged.

    sharedBudget?: SharedCacheBudgetState

    Shared in-memory budget state used by the built-in provider.

    taskId: string

    Canonical task id for the cache instance being created.

    totalBudgetBytes?: number

    Shared budget passed through when the runtime enables cache-wide byte limits.