Module: Datadog::Core::Workers::Async::Thread::PrependedMethods

Defined in:
lib/datadog/core/workers/async.rb

Overview

Methods that must be prepended

Instance Method Summary collapse

Instance Method Details

#perform(*args) ⇒ Object



24
25
26
# File 'lib/datadog/core/workers/async.rb', line 24

def perform(*args)
  start_async { self.result = super(*args) } unless started?
end