Module: Datadog::Tracing::Contrib::ConcurrentRuby::AsyncPatch
- Defined in:
- lib/datadog/tracing/contrib/concurrent_ruby/async_patch.rb
Overview
This patches the Async - to wrap executor service using ContextCompositeExecutorService
Instance Method Summary collapse
Instance Method Details
#initialize(delegate) ⇒ Object
11 12 13 14 15 |
# File 'lib/datadog/tracing/contrib/concurrent_ruby/async_patch.rb', line 11 def initialize(delegate) super(delegate) @executor = ContextCompositeExecutorService.new(@executor) end |