Scale Intelligence■ Docs
Docs / The model / Unit

Unit.

What every unit carries, whatever its type

Figure 1Unitspecified
UNITvalue at none scopeopaque, ordered by time, given once by the kernel; never made from an attributeidida registered kind; an unregistered kind cannot be named in codekindKindfor a kind that is the same by construction, made from the input; two units of one kind never share onekeytextoptionalnever widens; a unit made from others lives at the narrowestscopeScopeset oncemade_attimethe caller with the runmade_byCallerthe run that made or moved it, set on every flowtraceidKINDthrough kindSCOPEthrough scopeCALLERthrough made_by
Unit is a value at none scope. The drawing shows its fields and the objects that they point at.
kind
value
scope
none
key
every unit carries these
store
none
family
kernel

Fields#

fieldtyperequirednote
ididyesopaque, ordered by time, given once by the kernel; never made from an attribute
kindKindyesa registered kind; an unregistered kind cannot be named in code
keytextnofor a kind that is the same by construction, made from the input; two units of one kind never share one
scopeScopeyesnever widens; a unit made from others lives at the narrowest
made_attimeyesset once
made_byCalleryesthe caller with the run
traceidyesthe run that made or moved it, set on every flow

Routes that use it#