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 type O when their view of the state is outdated.
  • A Publisher is used to make changes to the state contained within a HangingGet. It is designed to be cheaply cloned and Send.
  • 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.