Constructors
constructor
Properties
hooks
hooks
: { beginIdle
: SyncHook<[], void, UnsetAdditionalOptions>; endIdle
: AsyncParallelHook<[], UnsetAdditionalOptions>; get
: AsyncSeriesBailHook<[string, null | Etag, ((result
: any, callback
: (arg0
?: Error) => void) => void)[]], any, UnsetAdditionalOptions>; shutdown
: AsyncParallelHook<[], UnsetAdditionalOptions>; store
: AsyncParallelHook<[string, null | Etag, any], UnsetAdditionalOptions>; storeBuildDependencies
: AsyncParallelHook<[Iterable<string>], UnsetAdditionalOptions> }Static STAGE_DEFAULT
STAGE_DEFAULT: number
Static STAGE_DISK
STAGE_DISK: number
Static STAGE_MEMORY
STAGE_MEMORY: number
Static STAGE_NETWORK
STAGE_NETWORK: number
Methods
beginIdle
Returns void
endIdle
Parameters
Returns void
get
Type parameters
Parameters
identifier: string
etag: null | Etag
Returns void
shutdown
Parameters
Returns void
store
- store<T>(identifier: string, etag: null | Etag, data: T, callback: CallbackCache<void>): void
Type parameters
Parameters
identifier: string
etag: null | Etag
data: T
Returns void
storeBuildDependencies
- storeBuildDependencies(dependencies: Iterable<string>, callback: CallbackCache<void>): void
Parameters
dependencies: Iterable<string>
Returns void
After this method has succeeded the cache can only be restored when build dependencies are