Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICache

Hierarchy

  • ICache

Implemented by

Index

Properties

Methods

Properties

name

name: string

ready

ready: boolean

Methods

del

  • del(key: string): Promise<boolean>

get

  • get(key: string): Promise<any>

init

  • init(options?: any): void

set

  • set(key: string, value: any, ttl?: undefined | number): Promise<boolean>
  • Parameters

    • key: string
    • value: any
    • Optional ttl: undefined | number

    Returns Promise<boolean>