Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NoOpCache

A cache implementation which does not cache any received documents and returns nothing when requested - mimicking an empty cache.

This is the default cache used if one is not supplied and should not impose any significant performance overhead.

Hierarchy

  • NoOpCache

Implements

Index

Methods

Methods

clear

  • clear(key: string): PromiseLike<boolean>

get

  • get<T>(key: string): PromiseLike<T>

set

  • set<T>(key: string, object: T): PromiseLike<T>

Generated using TypeDoc