Class MemoryStorage<T>

Type Parameters

  • T

Implements

Constructors

Properties

Methods

Constructors

Properties

items: Record<string, T> = {}

Methods

  • Parameters

    • id: string
    • func: ((item) => boolean)
        • (item): boolean
        • Parameters

          • item: T

          Returns boolean

    Returns Promise<boolean>