module DarkPrism::Dispatch
Public Instance Methods
dispatch_event(event_name, obj)
click to toggle source
# File lib/dark_prism/dispatch.rb, line 6 def dispatch_event(event_name, obj) DarkPrism::Dispatcher.instance.dispatch(event_name, obj) end
dispatch_pubsub(topic_name, message, attributes = nil)
click to toggle source
# File lib/dark_prism/dispatch.rb, line 10 def dispatch_pubsub(topic_name, message, attributes = nil) DarkPrism::Dispatcher.instance.dispatch_pubsub( topic_name, message, attributes ) end
dispatch_pubsub_async(topic_name, message, attributes = nil)
click to toggle source
# File lib/dark_prism/dispatch.rb, line 18 def dispatch_pubsub_async(topic_name, message, attributes = nil) DarkPrism::Dispatcher.instance.dispatch_pubsub_async( topic_name, message, attributes ) end