Methods

Files

Class/Module Index [+]

Quicksearch

Concurrent::Edge::BlockedTaskPromise

@abstract @!visibility private

Public Class Methods

new(blocked_by_future, default_executor, executor, &task) click to toggle source
# File lib/concurrent/edge/future.rb, line 1033
def initialize(blocked_by_future, default_executor, executor, &task)
  raise ArgumentError, 'no block given' unless block_given?
  @Executor = executor
  @Task     = task
  super Future.new(self, default_executor), blocked_by_future, 1
end

Public Instance Methods

executor() click to toggle source
# File lib/concurrent/edge/future.rb, line 1040
def executor
  @Executor
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.