zed/crates/watch
Lukas Wirth f9a1fc898b
watch: Add snapshot-based channels (#63964)
Add an opt-in watch channel that atomically publishes immutable, owned
snapshots rather than holding a reader/writer lock. Readers can retain a
value without delaying publication.

Use independent atomic wakers for receivers while preserving
latest-value coalescing and channel closure semantics. Keep the existing
watch implementation unchanged and document when to choose each
implementation.

Release Notes:

- N/A
2026-09-10 06:33:43 +00:00
..
src watch: Add snapshot-based channels (#63964) 2026-09-10 06:33:43 +00:00
Cargo.toml watch: Add snapshot-based channels (#63964) 2026-09-10 06:33:43 +00:00
LICENSE-APACHE