1
0
Fork
You've already forked init_once
0
Concurrent, non-blocking lazy initialization of values.
  • Rust 100%
Find a file
2025年05月02日 14:35:55 +01:00
examples async init methods 2024年07月26日 20:29:02 +01:00
src fix cell initialization on dropped futures 2025年05月02日 14:35:20 +01:00
.gitignore initial commit 2024年07月26日 11:46:22 +01:00
Cargo.lock bump version 2025年05月02日 14:35:55 +01:00
Cargo.toml bump version 2025年05月02日 14:35:55 +01:00
LICENSE license 2024年07月26日 17:17:56 +01:00
README.md readme 2024年07月26日 17:16:23 +01:00

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.