Sha256: bb2d7fef71fab35492c5799f36bf084e9a6a87c329ee10e9762c0d30ebc0a5eb

Contents?: true

Size: 152 Bytes

Versions: 2

Compression:

Stored size: 152 Bytes

Contents

class AddHandler
  include Wamp::Worker::Handler

  register"com.example.add", :add, { invoke: "roundrobin" }

  def add
    args[0] + args[1]
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wamp-worker-0.1.1 test/wamp_test/app/handlers/add_handler.rb
wamp-worker-0.1.0 test/wamp_test/app/handlers/add_handler.rb