Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AsyncStorage<A>

Type parameters

  • A

Hierarchy

  • Disposable
    • AsyncStorage

Index

Properties

None

None: { dispose: () => void }

Empty Disposable

Type declaration

  • dispose: () => void
      • (): void
      • Returns void

Readonly clear

clear: () => ItemEffect<boolean>

Type declaration

Readonly dispose

dispose: () => void

Type declaration

    • (): void
    • Returns void

Readonly getItem

getItem: (key: string) => ItemEffect<Maybe<A>>

Type declaration

Readonly getItems

getItems: () => ItemsEffect<A>

Type declaration

Readonly getKeys

getKeys: () => ItemsEffect<string>

Type declaration

lazy

lazy: () => LazyDisposable

Create a disposable that is lazily created

Type declaration

    • (): LazyDisposable
    • Returns LazyDisposable

Readonly removeItem

removeItem: (key: string) => ItemEffect<Maybe<A>>

Type declaration

Readonly setItem

setItem: (key: string, value: A) => ItemEffect<A>

Type declaration

Generated using TypeDoc