Stable registry identity for a shell registration.
Shell ids are user-facing names that extension sources may unregister and later reuse. Runtime state and asynchronous renderer snapshots use this identity to prove they still belong to the currently registered shell before they are restored or written back.
Summary
Functions
Returns true when the identity still refers to the registry entry.
Builds an identity from a registry entry.
Types
@type t() :: %MingaEditor.Shell.Identity{ generation: non_neg_integer(), module: module(), source: MingaEditor.Shell.Entry.source() }
Functions
@spec matches?(t(), MingaEditor.Shell.Entry.t()) :: boolean()
Returns true when the identity still refers to the registry entry.
@spec new(MingaEditor.Shell.Entry.t()) :: t()
Builds an identity from a registry entry.