Module: WisperNext Private

Defined in:
lib/wisper_next/events.rb,
lib/wisper_next.rb,
lib/wisper_next/version.rb,
lib/wisper_next/publisher.rb,
lib/wisper_next/subscriber.rb,
lib/wisper_next/cast_to_options.rb,
lib/wisper_next/subscriber/resolve_method.rb,
lib/wisper_next/publisher/callable_adapter.rb,
lib/wisper_next/subscriber/send_broadcaster.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Default synchronous broadcaster which sends event to subscriber

Defined Under Namespace

Classes: CastToOptions, Error, Events, Publisher, Subscriber

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.publisherObject



9
10
11
# File 'lib/wisper_next.rb', line 9

def self.publisher
  Publisher.new
end

.subscriber(*args) ⇒ Object



13
14
15
# File 'lib/wisper_next.rb', line 13

def self.subscriber(*args)
  Subscriber.new(*args)
end