module Concurrent::ExecutorService

@!macro executor_service_public_api @!visibility private

Public Instance Methods

can_overflow?() click to toggle source

@!macro executor_service_method_can_overflow_question

@note Always returns ‘false`

# File lib/concurrent-ruby/concurrent/executor/executor_service.rb, line 174
def can_overflow?
  false
end
serialized?() click to toggle source

@!macro executor_service_method_serialized_question

@note Always returns ‘false`

# File lib/concurrent-ruby/concurrent/executor/executor_service.rb, line 181
def serialized?
  false
end

Private Instance Methods

<<(task) click to toggle source

@!macro executor_service_method_left_shift

# File lib/concurrent-ruby/concurrent/executor/executor_service.rb, line 166
def <<(task)
  post(&task)
  self
end
post(*args, &task) click to toggle source

@!macro executor_service_method_post

# File lib/concurrent-ruby/concurrent/executor/executor_service.rb, line 161
def post(*args, &task)
  raise NotImplementedError
end