struct

Syn::Core::Once

Inherits Struct / Value / Object

Similar to AtomicLock but limited to a single usage: prevent a block of code to be invoked more than once, for example executing an initializer at most once.

Relies on :sequentially_consistent memory ordering.

Constructors

Instance methods

call
Source