module Event

Extended Modules

Defined in:

cocol/node/event/repo.cr
cocol/node/event.cr

Instance Method Summary

Instance Method Detail

def add_socket(socket : HTTP::WebSocket) #

[View source]
def block(block : Ledger::Block::Abstract) : NewBlockEvent #

[View source]
def broadcast(payload : String) #

[View source]
def del_socket(socket : HTTP::WebSocket) #

[View source]

[View source]
def transaction(event : EventType, transaction : Ledger::Action::Transaction) : TransactionEvent #

[View source]
def update(event : String) : NamedTuple #

[View source]