Skip to main content

default_for_declared_type

Function default_for_declared_type 

Source
pub fn default_for_declared_type(type_name: &str) -> RuntimeValue
Expand description

The value a declared type starts at, when a slot names a type and supplies no value of its own.

★ ONE TABLE, EVERY READER. This was written out TWICE verbatim — once on the sync new path and once on the async one — which is the same shape as the two copies of the event vocabulary that drifted apart in both directions (SELECTOR_EVENTS: “it is one vocabulary, so it is one table, and both readers ask it”). Two copies of a type table disagree the first time somebody adds a type to one of them, and a CRDT field that silently defaults to Nothing on one path is a replica that never converges.