Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Storage<T>

Type parameters

  • T

Hierarchy

  • Storage

Index

Methods

  • get(key: string): Promise<undefined | T>
  • Parameters

    • key: string

    Returns Promise<undefined | T>

  • getRaw(key: string): Promise<undefined | string>
  • Parameters

    • key: string

    Returns Promise<undefined | string>

  • isEnabled(): Promise<boolean>
  • Returns Promise<boolean>

  • remove(key: string): Promise<void>
  • Parameters

    • key: string

    Returns Promise<void>

  • reset(): Promise<void>
  • Returns Promise<void>

  • set(key: string, value: T): Promise<void>
  • Parameters

    • key: string
    • value: T

    Returns Promise<void>

Generated using TypeDoc