Class: Concurrent::ErlangActor::Ask
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
|
|
Instance Chain:
|
|
Inherits: |
Concurrent::ErlangActor::AbstractSignal
|
Defined in: | lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb |
Class Attribute Summary
Synchronization::Object
- Inherited
Class Method Summary
- .new(message, probe) ⇒ Ask constructor
Synchronization::Object
- Inherited
.atomic_attribute?, .atomic_attributes, | |
.attr_atomic | Creates methods for reading and writing to a instance variable with volatile (Java) semantic as |
.attr_volatile | Creates methods for reading and writing (as |
.ensure_safe_initialization_when_final_fields_are_present | For testing purposes, quite slow. |
.new | Has to be called by children. |
.safe_initialization!, .define_initialize_atomic_fields |
Synchronization::AbstractObject
- Inherited
Instance Attribute Summary
Instance Method Summary
Synchronization::Object
- Inherited
Synchronization::Volatile
- Included
Synchronization::AbstractObject
- Inherited
Constructor Details
.new(message, probe) ⇒ Ask
# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1260
def initialize(, probe) super() @message = @probe = probe raise ArgumentError, 'probe is not Resolvable' unless probe.is_a? Promises::Resolvable end
Instance Attribute Details
#message (readonly)
[ GitHub ]# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1258
attr_reader :, :probe
#probe (readonly)
[ GitHub ]# File 'lib/concurrent-ruby-edge/concurrent/edge/erlang_actor.rb', line 1258
attr_reader :, :probe