Sha256: 6719c44df6e827ddfe1a8306aa3cc44ee638329f426156a4a015c0b4599b535c
Contents?: true
Size: 404 Bytes
Versions: 3
Compression:
Stored size: 404 Bytes
Contents
# frozen_string_literal: true require_relative "base" module Wamp module Manager module Event # Unregister Message Event class Unregister < Base def add_event_listener(&block) session.transmit(payload) session.on(listen_event_name) do |unregistered, error| block&.call(unregistered, error) end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
xconn-0.1.2 | lib/wamp/manager/event/unregister.rb |
xconn-0.1.1 | lib/wamp/manager/event/unregister.rb |
xconn-0.1.0 | lib/wamp/manager/event/unregister.rb |