123456789_123456789_123456789_123456789_123456789_

Class: Concurrent::SerializedExecution::Job

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Struct
Instance Chain:
self, Struct
Inherits: Struct
  • ::Object
Defined in: lib/concurrent-ruby/concurrent/executor/serialized_execution.rb

Instance Attribute Summary

Instance Method Summary

Instance Attribute Details

#args (rw)

[ GitHub ]

  
# File 'lib/concurrent-ruby/concurrent/executor/serialized_execution.rb', line 16

Job = Struct.new(:executor, :args, :block)

#block (rw)

[ GitHub ]

  
# File 'lib/concurrent-ruby/concurrent/executor/serialized_execution.rb', line 16

Job = Struct.new(:executor, :args, :block)

#executor (rw)

[ GitHub ]

  
# File 'lib/concurrent-ruby/concurrent/executor/serialized_execution.rb', line 16

Job = Struct.new(:executor, :args, :block)

Instance Method Details

#call

[ GitHub ]

  
# File 'lib/concurrent-ruby/concurrent/executor/serialized_execution.rb', line 17

def call
  block.call(*args)
end