lazycell icon indicating copy to clipboard operation
lazycell copied to clipboard

Rust library providing a lazily filled Cell

Results 3 lazycell issues
Sort by recently updated
recently updated
newest added

Contrary to its documentation, `lazycell::AtomicLazyCell::set` can also return an error when the cell is *currently being filled* by another thread, which means that `cell.set(v); cell.borrow()` can return `None` sometimes.

Currently, `AtomicLazyCell` is missing the `borrow_mut`, `borrow_with`, and `try_borrow_with` functions that `LazyCell` has. These should be added to ensure we provide a consistent API.