123456789_123456789_123456789_123456789_123456789_

Module: Concurrent::Promises::FactoryMethods::Configuration

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Extended In:
Included In:
Defined in: lib/concurrent-ruby/concurrent/promises.rb

Instance Method Summary

Instance Method Details

#default_executorExecutor, ...

Returns:

  • (Executor, :io, :fast)

    the executor which is used when none is supplied to a factory method. The method can be overridden in the receivers of ‘include FactoryMethod`

[ GitHub ]

  
# File 'lib/concurrent-ruby/concurrent/promises.rb', line 54

def default_executor
  :io
end