UNPKG

nx-remotecache-custom

Version:

Build custom caching for @nrwl/nx in a few lines of code

10 lines (9 loc) 386 B
/// <reference types="node" /> /// <reference types="node" /> import { Readable } from "stream"; export interface SafeRemoteCacheImplementation { storeFile: (filename: string, data: Readable) => Promise<unknown | null>; fileExists: (filename: string) => Promise<boolean | null>; retrieveFile: (filename: string) => Promise<NodeJS.ReadableStream | null>; name: string; }