class Mongo::Monitoring::Observable(T)
- Mongo::Monitoring::Observable(T)
- Reference
- Object
Overview
Provides an observable interface for the Mongo::Client
.
Defined in:
cryomongo/monitoring.crInstance Method Summary
- #broadcast(event : T)
- #has_subscribers?
- #subscribe(&callback : T -> Nil) : T -> Nil
- #unsubscribe(callback : T -> Nil) : Nil