Sha256: c171317362768b0df169db334a3904a27f5f65ce4d0422bca2cf6baa435ceb3b
Contents?: true
Size: 297 Bytes
Versions: 40
Compression:
Stored size: 297 Bytes
Contents
module MarchHare class ShutdownListener include com.rabbitmq.client.ShutdownListener def initialize(entity, &block) # connection or channel @entity = entity @block = block end def shutdown_completed(cause) @block.call(@entity, cause) end end end
Version data entries
40 entries across 40 versions & 1 rubygems