Interface WrappedAsyncStorageNamespace
Hierarchy
- WrappedAsyncStorageNamespace
Methods
clear
- clear<T>(filter?: ClearFilter<T>, opts?: unknown[]): Promise<void>
- clear<T>(filter?: ClearFilter<T>, ...args: unknown[]): Promise<void>
Type parameters
Parameters
Returns Promise<void>
Type parameters
Parameters
Returns Promise<void>
get
Type parameters
Parameters
Returns Promise<CanUndef<T>>
Type parameters
Parameters
key: string
Rest ...args: unknown[]
Returns Promise<CanUndef<T>>
has
- has(key: string, opts?: AsyncOptions): Promise<boolean>
- has(key: string, ...args: unknown[]): Promise<boolean>
Parameters
Returns Promise<boolean>
Parameters
key: string
Rest ...args: unknown[]
Returns Promise<boolean>
remove
- remove(key: string, opts?: AsyncOptions): Promise<void>
- remove(key: string, ...args: unknown[]): Promise<void>
Parameters
Returns Promise<void>
Parameters
key: string
Rest ...args: unknown[]
Returns Promise<void>
set
- set(key: string, value: unknown, opts?: AsyncOptions): Promise<void>
- set(key: string, value: unknown, ...args: unknown[]): Promise<void>
Parameters
key: string
value: unknown
Returns Promise<void>
Parameters
key: string
value: unknown
Rest ...args: unknown[]
Returns Promise<void>
AsyncStorage.clear