Class: Slack::RealTime::Concurrency::Celluloid::Socket::Actor

Inherits:
Object
  • Object
show all
Defined in:
lib/slack/real_time/concurrency/celluloid.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(future) ⇒ Actor


62
63
64
# File 'lib/slack/real_time/concurrency/celluloid.rb', line 62

def initialize(future)
  @future = future
end

Instance Attribute Details

#futureObject (readonly)

Returns the value of attribute future


60
61
62
# File 'lib/slack/real_time/concurrency/celluloid.rb', line 60

def future
  @future
end

Instance Method Details

#joinObject


66
67
68
# File 'lib/slack/real_time/concurrency/celluloid.rb', line 66

def join
  @future.value
end