pub const SHARED: BuiltinSchema;Expand description
Shared<T>: mutable state more than one task may reach.
lock is its only operation, and there is no get and no set by
design: every access is scoped, so a read-modify-write is one expression
and cannot be split into two that race. The closure receives the wrapped
value and lock produces whatever the closure does.