module Concurrent::Options
def self.executor_from_options(opts = {}) # :nodoc:
Experimental RBS support (using type sampling data from the type_fusion
project).
def self.executor_from_options: (?Hash opts) -> untyped
This signature was generated using 1 sample from 1 application.
-
(Executor, nil)
- the requested thread pool, or nil when no option specified
Options Hash:
(**opts)
-
:executor
(Executor
) -- when set use the given `Executor` instance.
Parameters:
-
opts
(Hash
) -- the options defining the requested executor
def self.executor_from_options(opts = {}) # :nodoc: if identifier = opts.fetch(:executor, nil) executor(identifier) else nil end end