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