Deletes the primary and every configured legacy key in queue order.
Releases the change emitter. Already-queued persistence is not cancelled; disposal only ends this accessor's notification lifetime.
The stored value, or defaultValue if unset, expired, or invalid.
Migration/schema failures are contained; a failing port or custom clock
may still throw.
Whether a non-expired value is stored, regardless of validity.
Fires with the new effective value on set/reset/delete through this
instance. Migration/legacy-move writes are silent. Mementos have no native
change event, so writes from another window, process or accessor instance
are not observable.
Sets the value with one Memento.update of the complete envelope.
Rejects without writing when the value fails the schema. The read side is lenient — it falls back and records a diagnostic — so a write that skipped the check would not fail anywhere: the value would just be missing later, with the diagnostic pointing at the read instead of at the write. A schema that coerces has its output stored, so the next read agrees with it.
Like get, but reports why a fallback happened. Nothing stored, or
an expired entry, is ok with defaultValue — neither is a failure. A
migration that threw, or a value that failed validation, comes back err.
A type-safe wrapper over a single Memento key.