Options
All
  • Public
  • Public/Protected
  • All
Menu

Module IRestorable<T, U>

A namespace for IRestorable interface definitions.

Type parameters

  • T: IObservableDisposable

    The type of object held by the restorable collection.

  • U

    The restored promise resolution type. Defaults to any.

Hierarchy

  • IRestorable

Implemented by

Index

Interfaces

Properties

Methods

Properties

restored

restored: Promise<U>

A promise that settles when the collection has been restored.

Methods

restore

  • restore(options: IOptions<T>): Promise<U>
  • Restore the objects in this restorable collection.

    Parameters

    • options: IOptions<T>

      The configuration options that describe restoration.

    Returns Promise<U>

    A promise that settles when restored with any results.

Generated using TypeDoc