struct SurrealDB::Emitter(T)

Defined in:

client/ws.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def emit(id : String, data : T) #

[View source]
def initialize #

[View source]
def on(id : String, ch : Channel(T)) #

[View source]
def once(id : String, &) #

[View source]
def removeAllListeners(id : String) #

[View source]