Sha256: 4ec0aef8c40dfda3cb6b9a7434cfd298af12f2e10bd9177c088333492a50ba95
Contents?: true
Size: 329 Bytes
Versions: 3
Compression:
Stored size: 329 Bytes
Contents
# frozen_string_literal: true module Wamp module MessageHandler # publish event to subscriber class Register < Base def send_message(handler, &callback) store[store_key] = { handler: handler, callback: callback, procedure: message.procedure } send_serialized message end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
xconn-0.1.2 | lib/wamp/message_handler/register.rb |
xconn-0.1.1 | lib/wamp/message_handler/register.rb |
xconn-0.1.0 | lib/wamp/message_handler/register.rb |