Options
All
  • Public
  • Public/Protected
  • All
Menu

Module cache

Namespace cache

Index

Functions

Functions

load

  • load(key: string): any
  • Parameters

    • key: string

    Returns any

remove

  • remove(key: string): void
  • Parameters

    • key: string

    Returns void

save

  • save(key: string, data: any, expiration?: string): void
  • Parameters

    • key: string
    • data: any
    • Optional expiration: string

      (default: null)

    Returns void

Generated using TypeDoc