Skip to main content

ReadinessReceiver

Type Alias ReadinessReceiver 

Source
pub type ReadinessReceiver = Receiver<ReadinessSnapshot>;
Expand description

The route’s end of the channel the poller publishes on.

borrow() keeps answering with the last value after the sender is gone, so a test can hand a state a fixed snapshot without running a poller.

Aliased Type§

pub struct ReadinessReceiver { /* private fields */ }