Interface IOptions<T>

The state restoration configuration options.

Typeparam

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

Type Parameters

Hierarchy

Properties

Properties

args?: ((obj) => ReadonlyPartialJSONObject)

Type declaration

command: string

The command to execute when restoring instances.

name: ((obj) => string)

Type declaration

    • (obj): string
    • A function that returns a unique persistent name for this instance.

      Parameters

      • obj: T

      Returns string

when?: Promise<any> | Promise<any>[]

The point after which it is safe to restore state.

Generated using TypeDoc