Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Cacher<T>

Type parameters

  • T

Hierarchy

  • Cacher

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private cache

cache: Dict<T>

Methods

define

  • define(key: string, val: T): void
  • Parameters

    • key: string
    • val: T

    Returns void

get

  • get(key: string): T

load

  • load(cacheObj: Dict<T>): void

remove

  • remove(key: string): void

reset

  • reset(): void

Generated using TypeDoc