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



26
27
28
# File 'lib/datadog/core/workers/async.rb', line 26

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