Class: Riffer::Tools::Runtime::Fibers
- Inherits:
-
Riffer::Tools::Runtime
- Object
- Riffer::Tools::Runtime
- Riffer::Tools::Runtime::Fibers
- Defined in:
- lib/riffer/tools/runtime/fibers.rb
Overview
Instance Method Summary collapse
-
#initialize(max_concurrency: nil) ⇒ Fibers
constructor
- max_concurrency
-
maximum number of tool calls to execute simultaneously.
Methods inherited from Riffer::Tools::Runtime
Constructor Details
#initialize(max_concurrency: nil) ⇒ Fibers
- max_concurrency
-
maximum number of tool calls to execute simultaneously.
When +nil+, all tool calls run as fibers without limit.
– : (?max_concurrency: Integer?) -> void
16 17 18 |
# File 'lib/riffer/tools/runtime/fibers.rb', line 16 def initialize(max_concurrency: nil) super(runner: Riffer::Runner::Fibers.new(max_concurrency: max_concurrency)) end |