Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Cache

Hierarchy

  • Cache

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new Cache(domain?: string): Cache
  • Parameters

    • Default value domain: string = "global"

    Returns Cache

Properties

Private _domain

_domain: string

Private _hits

_hits: number = 0

Accessors

dir

  • get dir(): string

hits

  • get hits(): number

Methods

promise

  • promise(f: Function, ...args: any[]): Promise<Object>
  • Parameters

    • f: Function
    • Rest ...args: any[]

    Returns Promise<Object>

Generated using TypeDoc