Class Cache

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(): Cache

Returns

Cache

Properties

public files: Array<any>

Methods

public add(key: string, file: any)

Parameters

  • key: string
  • file: any

public clear()

public get(key: string): any

Parameters

  • key: string

Returns

any

public remove(key: string)

Parameters

  • key: string