class Bunny

Defined in:

bunny.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(db : DB::Database = DB.open("sqlite3://bunni.sqlite")) #

[View source]

Instance Method Detail

def ack(id : UUID) #

[View source]
def db : DB::Database #

[View source]
def db=(db : DB::Database) #

[View source]
def grab(streamName, timeout = 5000, ackTimeout = 5000) #

[View source]
def grabWaiters : Hash(String, Array(Channel(Event))) #

[View source]
def grabWaiters=(grabWaiters : Hash(String, Array(Channel(Event)))) #

[View source]
def nack(uuid : UUID, streamName : String) #

[View source]
def post(streamName : String, data : Object) #

[View source]
def processingEvents : Hash(UUID, Channel(UUID)) #

[View source]
def processingEvents=(processingEvents : Hash(UUID, Channel(UUID))) #

[View source]
def show(&) #

[View source]