Method: MessageBus::Implementation#on_connect

Defined in:
lib/message_bus.rb

#on_connect(&blk) ⇒ Object


249
250
251
252
# File 'lib/message_bus.rb', line 249

def on_connect(&blk)
  configure(on_connect: blk) if blk
  @config[:on_connect]
end