Skip to main content

Definition

No overview available.

Attributes

AttributeTypeDescription
valueArc< OnceLock< T > >Thread-safe container that stores the lazily-initialized value of the definition.
nameArc< LazyName >Shared reference to the lazily-evaluated identifier or label associated with this definition.

Constructor

Signature

def Definition(
value: Arc< OnceLock< T > >,
name: Arc< LazyName >
) - > [Definition](definition.md?sid=definitions_definition)

Parameters

NameTypeDescription
valueArc< OnceLock< T > >A thread-safe, write-once container for the value.
nameArc< LazyName >A thread-safe reference to the lazy name.

Signature

@staticmethod
def new(
name: Arc< LazyName >
) - > Definition< T >

Parameters

NameTypeDescription
nameArc< LazyName >The thread-safe lazy name identifier used to reference this definition.