Sha256: 1319ba1529488a0a2b3e4eb04d03315e394a1fcd15451e85f6c0f5db5b228fc3
Contents?: true
Size: 589 Bytes
Versions: 3
Compression:
Stored size: 589 Bytes
Contents
require 'ddtrace/contrib/patcher' module Datadog module Contrib module ConcurrentRuby # Patcher enables patching of 'Future' class. module Patcher include Contrib::Patcher module_function def target_version Integration.version end def patch require 'ddtrace/contrib/concurrent_ruby/future_patch' patch_future end # Propagate tracing context in Concurrent::Future def patch_future ::Concurrent::Future.include(FuturePatch) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ddtrace-0.51.1 | lib/ddtrace/contrib/concurrent_ruby/patcher.rb |
ddtrace-0.51.0 | lib/ddtrace/contrib/concurrent_ruby/patcher.rb |
ddtrace-0.50.0 | lib/ddtrace/contrib/concurrent_ruby/patcher.rb |