UNPKG

nx-remotecache-custom-3

Version:

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

7 lines (6 loc) 457 B
import defaultTasksRunner from "@nrwl/workspace/tasks-runners/default"; import { CustomRunnerOptions } from "./types/custom-runner-options"; import { RemoteCacheImplementation } from "./types/remote-cache-implementation"; declare type DefaultTasksRunner = typeof defaultTasksRunner; export declare const createCustomRunner: <T extends Object>(setup: (options: CustomRunnerOptions<T>) => Promise<RemoteCacheImplementation>) => DefaultTasksRunner; export {};