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