Expand description
Server-side hanging get implementation.
See crate::hanging_get::server::HangingGet for usage documentation.
Structsยง
- Hanging
Get - A broker of updates to some state, using the hanging get pattern.
- Hanging
GetInner - A HangingGetInner object manages some internal state
Sand notifies observers of typeOwhen their view of the state is outdated. - Publisher
- A
Publisheris used to make changes to the state contained within aHangingGet. It is designed to be cheaply cloned andSend. - Subscriber
- A
Subscribercan be used to register observation requests with theHangingGet. These will be notified when the state changes or immediately the first time aSubscriberregisters an observation.