Interface IRestorer<T, U, V>

An interface for a state restorer.

Typeparam

T - The restorable collection's type.

Typeparam

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

Typeparam

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

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

Type Parameters

Hierarchy

  • IRestorer

    Properties

    Methods

    Properties

    restored: Promise<V>

    A promise that settles when the collection has been restored.

    Methods