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

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

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Methods that must be prepended

Instance Method Summary collapse

Instance Method Details

#perform(*args) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



31
32
33
34
35
36
37
# File 'lib/datadog/core/workers/async.rb', line 31

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