Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Cache

Index

Constructors

  • Returns Cache

Properties

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> }

Type declaration

STAGE_DEFAULT: number
STAGE_DISK: number
STAGE_MEMORY: number
STAGE_NETWORK: number

Methods

  • beginIdle(): void
  • Returns void

  • Parameters

    Returns void

  • Type parameters

    • T

    Parameters

    Returns void

  • Parameters

    Returns void

  • store<T>(identifier: string, etag: null | Etag, data: T, callback: CallbackCache<void>): void
  • Type parameters

    • T

    Parameters

    Returns void

  • storeBuildDependencies(dependencies: Iterable<string>, callback: CallbackCache<void>): void
  • After this method has succeeded the cache can only be restored when build dependencies are

    Parameters

    Returns void