File tree Expand file tree Collapse file tree 7 files changed +11
-11
lines changed Expand file tree Collapse file tree 7 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 9
9
- 1.9.3
10
10
- ruby-head
11
11
- jruby-1.7.19
12
+ - jruby-9.0.1.0
12
13
- jruby-9.0.3.0
13
14
- jruby-9.0.4.0
14
15
- jruby-head
Original file line number Diff line number Diff line change 5
5
6
6
module Concurrent
7
7
8
+ # This file has circular require issues. It must be autoloaded here.
8
9
autoload :Options , 'concurrent/options'
9
10
10
11
# Lazy evaluation of a block yielding an immutable result. Useful for
Original file line number Diff line number Diff line change 4
4
require 'concurrent/executor/executor_service'
5
5
require 'concurrent/executor/single_thread_executor'
6
6
7
- module Concurrent
7
+ require 'concurrent/options'
8
8
9
- autoload :Options , 'concurrent/options'
9
+ module Concurrent
10
10
11
11
# Executes a collection of tasks, each after a given delay. A master task
12
12
# monitors the set and schedules each task for execution at the appropriate
@@ -21,7 +21,7 @@ class TimerSet < RubyExecutorService
21
21
# Create a new set of timed tasks.
22
22
#
23
23
# @!macro [attach] executor_options
24
- #
24
+ #
25
25
# @param [Hash] opts the options used to specify the executor on which to perform actions
26
26
# @option opts [Executor] :executor when set use the given `Executor` instance.
27
27
# Three special values are also supported: `:task` returns the global task pool,
Original file line number Diff line number Diff line change 4
4
require 'concurrent/ivar'
5
5
require 'concurrent/executor/safe_task_executor'
6
6
7
- module Concurrent
7
+ require 'concurrent/options'
8
8
9
- autoload :Options , 'concurrent/options'
9
+ module Concurrent
10
10
11
11
# {include:file:doc/future.md}
12
12
#
Original file line number Diff line number Diff line change 1
- # This file has circular require issues. It must be autoloaded.
2
-
3
1
require 'concurrent/configuration'
4
2
5
3
module Concurrent
Original file line number Diff line number Diff line change 3
3
require 'concurrent/errors'
4
4
require 'concurrent/ivar'
5
5
6
- module Concurrent
6
+ require 'concurrent/options'
7
7
8
- autoload :Options , 'concurrent/options'
8
+ module Concurrent
9
9
10
10
PromiseExecutionError = Class . new ( StandardError )
11
11
Original file line number Diff line number Diff line change 5
5
require 'concurrent/collection/copy_on_notify_observer_set'
6
6
require 'concurrent/utility/monotonic_time'
7
7
8
- module Concurrent
8
+ require 'concurrent/options'
9
9
10
- autoload :Options , 'concurrent/options'
10
+ module Concurrent
11
11
12
12
# `ScheduledTask` is a close relative of `Concurrent::Future` but with one
13
13
# important difference: A `Future` is set to execute as soon as possible
You can’t perform that action at this time.
0 commit comments