File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,12 @@ def execute
94
94
#
95
95
# @yield the asynchronous operation to perform
96
96
#
97
+ # @param [Hash] opts the options controlling how the future will be processed
98
+ # @option opts [Boolean] :operation (false) when `true` will execute the future on the global
99
+ # operation pool (for long-running operations), when `false` will execute the future on the
100
+ # global task pool (for short-running tasks)
101
+ # @option opts [object] :executor when provided will run all operations on
102
+ # this executor rather than the global thread pool (overrides :operation)
97
103
# @option opts [String] :dup_on_deref (false) call `#dup` before returning the data
98
104
# @option opts [String] :freeze_on_deref (false) call `#freeze` before returning the data
99
105
# @option opts [String] :copy_on_deref (nil) call the given `Proc` passing the internal value and
You can’t perform that action at this time.
0 commit comments