Class: Farce::Unshared::Publisher

Inherits:
Abstract::Publisher show all
Includes:
Farce::Unshareable
Defined in:
lib/farce/unshared/publisher.rb

Overview

Unshared variant of Publisher.

Instance Method Summary collapse

Methods included from Farce::Unshareable

#ractor_shareable?

Methods inherited from Abstract::Publisher

#closed?, #publish, #subscribe, #subscribed?, #subscription_for, #unsubscribe

Methods included from Internal::Noncopyable

#duplicable?

Constructor Details

#initialize ⇒ Publisher

Returns a new instance of Publisher.



13
14
15
16
# File 'lib/farce/unshared/publisher.rb', line 13

def initialize(...)
  @map = Unshared::Map.new
  super
end