UNPKG

@paroicms/server-image-cache-engine

Version:

The image variant engine that we use at Paroi.

13 lines (12 loc) 526 B
import type { VariantEngineContext } from "../internal/engine-context.js"; import type { TaskKey, TransactionCacheItem } from "../internal/internal.types.js"; import type { OwnerImageManager } from "./owner-image-manager.js"; export interface OwnerTransactionContext { engineContext: VariantEngineContext; startQueue: () => void; ownerHandle: string; isHandleReusable: boolean; canBeRetrievedByOwner: boolean; ownerImageManager: OwnerImageManager; localCache: Map<TaskKey, TransactionCacheItem>; }