class Mongo::Monitoring::Observable(T)

Overview

Provides an observable interface for the Mongo::Client.

Defined in:

cryomongo/monitoring.cr

Instance Method Summary

Instance Method Detail

def broadcast(event : T) #

def has_subscribers? #

def subscribe(&callback : T -> Nil) : T -> Nil #

def unsubscribe(callback : T -> Nil) : Nil #