Module server

Source
Expand description

Server-side hanging get implementation.

See crate::hanging_get::server::HangingGet for usage documentation.

Structs§

HangingGet
A broker of updates to some state, using the hanging get pattern.
HangingGetInner
A HangingGetInner object manages some internal state S and notifies observers of type O when their view of the state is outdated.
Publisher
A Publisher is used to make changes to the state contained within a HangingGet. It is designed to be cheaply cloned and Send.
Subscriber
A Subscriber can be used to register observation requests with the HangingGet. These will be notified when the state changes or immediately the first time a Subscriber registers an observation.