reth_chainspec

Function once_cell_set

Source
pub fn once_cell_set<T>(value: T) -> OnceLock<T>
Expand description

Simple utility to create a thread-safe sync cell with a value set.