Options
All
  • Public
  • Public/Protected
  • All
Menu

API for an asynchronous storage

Hierarchy

Index

Properties

has: ReturnPromise<(key: string, ...args: unknown[]) => boolean>
remove: ReturnPromise<(key: string, ...args: unknown[]) => void>
set: ReturnPromise<(key: string, value: unknown, ...args: unknown[]) => void>

Methods

  • clear<T>(filter?: ClearFilter<T>, ...args: unknown[]): Promise<void>
  • get<T>(key: string, ...args: unknown[]): Promise<CanUndef<T>>