Module cdrs::events

source ·

Structs

EventStream is an iterator which returns new events once they come. It is similar to Receiver::iter.
Listener provides only one function start to start listening. It blocks a thread so should be moved into a separate one to no release main thread.

Functions

Factory function which returns a Listener and related EventStream.

Type Definitions

Reexport of FrameSchemaChange.
Full Server Event which includes all details about occured change.
Simplified Server event. It should be used to represent an event which consumer wants listen to.