Module: Aidp::Concurrency
- Defined in:
- lib/aidp/concurrency.rb,
lib/aidp/concurrency/exec.rb,
lib/aidp/concurrency/wait.rb,
lib/aidp/concurrency/backoff.rb
Overview
Concurrency utilities for deterministic waiting, retry/backoff, and executor management.
This module provides standardized primitives to replace arbitrary sleep() calls with proper synchronization, timeouts, and event-based coordination using concurrent-ruby.
Defined Under Namespace
Modules: Backoff, Exec, Wait Classes: Configuration, Error, MaxAttemptsError, TimeoutError
Class Attribute Summary collapse
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
49 50 51 |
# File 'lib/aidp/concurrency.rb', line 49 def configuration @configuration ||= Configuration.new end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
53 54 55 |
# File 'lib/aidp/concurrency.rb', line 53 def configure yield(configuration) end |