init-once

Crates.ioinit-once
lib.rsinit-once
version0.6.0
sourcesrc
created_at2024-07-26 16:28:46.219006
updated_at2024-08-04 12:26:45.476323
descriptionConcurrent, non-blocking lazy initialization of values.
homepagehttps://codeberg.org/sugo/init_once
repositoryhttps://codeberg.org/sugo/init_once
max_upload_size
id1316395
size32,136
Tiago Carvalho (sug0)

documentation

README

init_once

The init_once crate provides a mechanic to attempt to read a value without blocking the caller, in case it is being initialized concurrently. Such an abstraction might be useful in cache implementations whose consumers might not want to block on the cache to fill up with data.

Commit count: 0

cargo fmt