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
f9a1fc898bLukas Wirth committed on 9/10/2026, 6:33:43 AM· committed by GitHubparent52b2927
6 files changedLine totals unavailable