Class: Concurrent::Promises::ResolvableEventPromise
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
|
|
Instance Chain:
|
|
Inherits: |
Concurrent::Promises::AbstractPromise
|
Defined in: | lib/concurrent-ruby/concurrent/promises.rb |
Constant Summary
InternalStates
- Included
Class Attribute Summary
Synchronization::Object
- Inherited
Class Method Summary
- .new(default_executor) ⇒ ResolvableEventPromise constructor
AbstractPromise
- Inherited
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 Method Summary
AbstractPromise
- Inherited
#default_executor, #delayed_because, | |
#event | Alias for AbstractPromise#future. |
#future, | |
#inspect | Alias for AbstractPromise#to_s. |
#state, #to_s, #touch, #evaluate_to, #resolve_with |
Synchronization::Object
- Inherited
Synchronization::Volatile
- Included
Synchronization::AbstractObject
- Inherited
Constructor Details
.new(default_executor) ⇒ ResolvableEventPromise
# File 'lib/concurrent-ruby/concurrent/promises.rb', line 1601
def initialize(default_executor) super ResolvableEvent.new(self, default_executor) end