/** * Represents a custom cache solution for a nx workspace. * * @see {@link https://nx.dev/recipes/running-tasks/self-hosted-caching} */ export interface NxCache { /** Retrieves the data for the given hash. */ get: (hash: string) => Promise; /** Whether the cache contains data for the given hash. */ has: (hash: string) => Promise; /** Sets the data for the given hash. */ set: (hash: string, data: Buffer) => Promise; } //# sourceMappingURL=nx-cache.d.ts.map