Options
All
  • Public
  • Public/Protected
  • All
Menu

Module IRestorer<T, U, V>

A namespace for IRestorer interface definitions.

Type parameters

  • T: IRestorable<U>

    The restorable collection's type.

  • U: IObservableDisposable

    The type of object held by the restorable collection.

  • V

    The restored promise resolution type. Defaults to any.

Index

Interfaces

Properties

Methods

Properties

restored

restored: Promise<V>

A promise that settles when the collection has been restored.

Methods

restore

  • restore(restorable: T, options: IOptions<U>): Promise<V>
  • Restore the objects in a given restorable collection.

    Parameters

    • restorable: T

      The restorable collection being restored.

    • options: IOptions<U>

      The configuration options that describe restoration.

    Returns Promise<V>

    A promise that settles when restored with any results.

Generated using TypeDoc