Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CacheProvider

Hierarchy

  • CacheProvider

Index

Methods

Methods

get

  • get(key: string, callback: (err: Error | null, value: any) => void | null): void
  • Parameters

    • key: string
    • callback: (err: Error | null, value: any) => void | null
        • (err: Error | null, value: any): void | null
        • Parameters

          • err: Error | null
          • value: any

          Returns void | null

    Returns void

remove

  • remove(key: string, callback: (err: Error | null, key: string | null) => void | null): void
  • Parameters

    • key: string
    • callback: (err: Error | null, key: string | null) => void | null
        • (err: Error | null, key: string | null): void | null
        • Parameters

          • err: Error | null
          • key: string | null

          Returns void | null

    Returns void

save

  • save(key: string | null, value: any, callback: (err: Error | null, cacheItem: CacheItem | null) => void | null): void
  • Parameters

    • key: string | null
    • value: any
    • callback: (err: Error | null, cacheItem: CacheItem | null) => void | null
        • (err: Error | null, cacheItem: CacheItem | null): void | null
        • Parameters

          • err: Error | null
          • cacheItem: CacheItem | null

          Returns void | null

    Returns void

Generated using TypeDoc