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) #

[View source]
def has_subscribers? #

[View source]
def subscribe(&callback : T -> Nil) : T -> Nil #

[View source]
def unsubscribe(callback : T -> Nil) : Nil #

[View source]