Interface IRestorable<T, U>

An interface for objects that can be restored.

Typeparam

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

Typeparam

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

interface IRestorable<T, U> {
    restored: Promise<U>;
    restore(options): Promise<U>;
}

Type Parameters

Implemented by

Properties

Methods

Properties

restored: Promise<U>

A promise that settles when the collection has been restored.

Methods