Expand description
A synchronization primitive for passing the latest value to multiple receivers.
Structs§
- AnonRcv
 - A anonymous receiver can NOT 
.awaita change in theWatchvalue. - Anon
Receiver  - A receiver of a 
Watchchannel that cannot.awaitvalues. - DynAnon
Receiver  - A receiver that cannot 
.awaitvalue, which holds a dynamic reference to aWatchchannel. - DynReceiver
 - A receiver which holds a dynamic reference to a 
Watchchannel. - DynSender
 - A sender which holds a dynamic reference to a 
Watchchannel. - Rcv
 - A receiver can 
.awaita change in theWatchvalue. - Receiver
 - A receiver of a 
Watchchannel. - Sender
 - A sender of a 
Watchchannel. - Snd
 - A receiver can 
.awaita change in theWatchvalue. - Watch
 - The 
Watchis a single-slot signaling primitive that allows multiple receivers to concurrently await changes to the value. Unlike aSignal,Watchsupports multiple receivers, and unlike aPubSubChannel,Watchimmediately overwrites the previous value when a new one is sent, without waiting for all receivers to read the previous value. 
Traits§
- Watch
Behavior  - A trait representing the ‘inner’ behavior of the 
Watch.