Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface HasMemory<T>

see

Memory for an implementation.

Type parameters

Hierarchy

  • HasMemory

Implemented by

Index

Properties

forget

forget: function

Type declaration

    • (key: string, forgetNamespace?: undefined | false | true): void
    • Parameters

      • key: string
      • Optional forgetNamespace: undefined | false | true

      Returns void

memory

memory: Namespace

remember

remember: function

Type declaration

    • (key: string, value: any): void
    • Parameters

      • key: string
      • value: any

      Returns void

resetMemory

resetMemory: function

Type declaration

    • (...namespaces: string[]): void
    • Parameters

      • Rest ...namespaces: string[]

      Returns void

Generated using TypeDoc