OptionalfallbackOptionalmigrateMigrate old persisted snapshots into the current schema before validation.
The callback must return synchronously; perform asynchronous I/O before
calling deserialize().
OptionalonReceive typed persistence errors before a fallback is returned or the error is thrown.
OptionalreplayMutative options used while semantically replaying every history entry. Supply the same strict/mark settings that were used to record the history.
Optionalvalidationstructural validates the encoded schema and patch shapes (default).
semantic additionally replays and reverses every entry and is recommended
for snapshots that have not crossed a trusted verification boundary.
Fallback snapshot used when parsing, migration, or validation fails. Function fallbacks must return synchronously.