Class MemorySessionStore<T>

Deprecated

Use Map

Type Parameters

  • T

Hierarchy

  • MemorySessionStore

Implements

  • SyncSessionStore<T>

Constructors

Properties

Methods

Constructors

Properties

store: Map<string, {
    expires: number;
    session: T;
}> = ...

Type declaration

  • expires: number
  • session: T
ttl: number = Infinity

Methods

  • Parameters

    • name: string

    Returns void

  • Parameters

    • name: string

    Returns undefined | T

  • Parameters

    • name: string
    • value: T

    Returns void

Generated using TypeDoc