Optional
argsA function that returns the args needed to restore an instance.
The command to execute when restoring instances.
The data connector to fetch restore data.
A function that returns a unique persistent name for this instance.
The command registry which holds the restore command.
Optional
whenThe point after which it is safe to restore state.
The state restoration configuration options.
Typeparam
T - The type of object held by the restorable collection.