Interface IRestorable<T, U>

An interface for objects that can be restored.

T - The type of object held by the restorable collection.

U - The restored promise resolution type. Defaults to any.

interface IRestorable<T extends IObservableDisposable, U = any> {
    restored: Promise<U>;
    restore(options: IRestorable.IOptions<T>): Promise<U>;
}

Type Parameters

Implemented by

Properties

Methods

Properties

restored: Promise<U>

A promise that settles when the collection has been restored.

Methods