swc_core
0.92.5
Module unsync
Structs
In swc_core::base::atoms::once_cell
?
Settings
Module
swc_core
::
base
::
atoms
::
once_cell
::
unsync
Copy item path
[
−
]
Available on
crate feature
__base
only.
Expand description
Single-threaded version of
OnceCell
.
Structs
§
Lazy
A value which is initialized on the first access.
OnceCell
A cell which can be written to only once. It is not thread safe.