Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IStorage

Hierarchy

Implemented by

Index

Properties

Properties

clearAll

clearAll: () => Promise<void>

Type declaration

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

get

get: (key: string) => Promise<undefined | null | string>

Type declaration

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

      • key: string

      Returns Promise<undefined | null | string>

remove

remove: (key: string) => Promise<void>

Type declaration

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

      • key: string

      Returns Promise<void>

set

set: (key: string, value: string, opts?: ISetOptions) => Promise<void>

Type declaration

    • (key: string, value: string, opts?: ISetOptions): Promise<void>
    • Parameters

      Returns Promise<void>

Generated using TypeDoc