class EventBus

Included Modules

Defined in:

eventbus.cr
eventbus/event.cr
eventbus/init.cr
eventbus/listener.cr
eventbus/task.cr

Constant Summary

PARALELL_JOBS = (ENV["PARALELL_JOBS"]? || 1).to_i

Constructors

Instance Method Summary

Constructor Detail

def self.new(url : URI, *handler : EventHandler) #

[View source]
def self.new(url : String, **options) #

[View source]

Instance Method Detail

def add_handler(*handler : EventHandler) #

[View source]
def close : Nil #

[View source]
def disable_cdc_for(table : String) : Nil #

[View source]
def ensure_cdc_for(table : String) : Bool #

[View source]
def ensure_cdc_for_all_tables : Bool #

[View source]
def on_error(handler : ErrHandlerType -> ) #

[View source]
def remove_handler(*handler : EventHandler) #

[View source]
def run : Nil #

[View source]
def start : Nil #

[View source]
def task_runner : TaskRunner #

[View source]