Sha256: 025b9a3daf082ed4d1fb017e10daeb60100bef47ac177e50aeeb3317c156d8e7

Contents?: true

Size: 573 Bytes

Versions: 4

Compression:

Stored size: 573 Bytes

Contents

puts 'hello'

class MyHandler1
  include Phobos::Handler

  def consume(payload, metadata)
    puts '$$$$$$ HANDLER1 $$$$$$$$$'
    puts "#{Thread.current.object_id}"
    puts "#{metadata}"
  end
end

class MyHandler2
  include Phobos::Handler

  def consume(payload, metadata)
    puts '$$$$$$ HANDLER2 $$$$$$$$$'
    puts "#{Thread.current.object_id}"
    puts "#{metadata}"
  end
end

class MyHandler3
  include Phobos::Handler

  def consume(payload, metadata)
    puts '$$$$$$ HANDLER3 $$$$$$$$$'
    puts "#{Thread.current.object_id}"
    puts "#{metadata}"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
phobos_temp_fork-0.0.4 phobos_boot.rb
phobos_temp_fork-0.0.3 phobos_boot.rb
phobos_temp_fork-0.0.2 phobos_boot.rb
phobos_temp_fork-0.0.1 phobos_boot.rb