Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IRestorable<T, U>

An interface for objects that can be restored.

Type parameters

  • T: IObservableDisposable

    The type of object held by the restorable collection.

  • U = any

    The restored promise resolution type. Defaults to any.

Hierarchy

  • IRestorable

Implemented by

Index

Properties

Methods

Properties

Readonly 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