Class: Slack::RealTime::Concurrency::Celluloid::Socket::Actor
- Inherits:
-
Object
- Object
- Slack::RealTime::Concurrency::Celluloid::Socket::Actor
- Defined in:
- lib/slack/real_time/concurrency/celluloid.rb
Instance Attribute Summary collapse
-
#future ⇒ Object
readonly
Returns the value of attribute future.
Instance Method Summary collapse
-
#initialize(future) ⇒ Actor
constructor
A new instance of Actor.
- #join ⇒ Object
Constructor Details
#initialize(future) ⇒ Actor
Returns a new instance of Actor.
62 63 64 |
# File 'lib/slack/real_time/concurrency/celluloid.rb', line 62 def initialize(future) @future = future end |
Instance Attribute Details
#future ⇒ Object (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
#join ⇒ Object
66 67 68 |
# File 'lib/slack/real_time/concurrency/celluloid.rb', line 66 def join @future.value end |