Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Cache<T>

Type parameters

  • T

Hierarchy

  • Cache

Implemented by

Index

Methods

Methods

read

  • read(key: string): T | undefined | Promise<T | undefined>
  • Parameters

    • key: string

    Returns T | undefined | Promise<T | undefined>

write

  • write(key: string, value: T): void | Promise<void>
  • Parameters

    • key: string
    • value: T

    Returns void | Promise<void>

Generated using TypeDoc