Sha256: 749c3b489453b127ef93a25607a7eb8ea336df930125a6545bca8a821a6ee687
Contents?: true
Size: 762 Bytes
Versions: 12
Compression:
Stored size: 762 Bytes
Contents
# typed: true require_relative '../patcher' module Datadog module Tracing module Contrib module ConcurrentRuby # Patcher enables patching of 'Future' class. module Patcher include Kernel # Ensure that kernel methods are always available (https://sorbet.org/docs/error-reference#7003) include Contrib::Patcher module_function def target_version Integration.version end def patch require_relative 'future_patch' patch_future end # Propagate tracing context in Concurrent::Future def patch_future ::Concurrent::Future.include(FuturePatch) end end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems