Method: Datadog::Core::Telemetry::Worker#start
- Defined in:
- lib/datadog/core/telemetry/worker.rb
#start(initial_event) ⇒ Object
Returns true if worker thread is successfully started, false if worker thread was not started but telemetry is enabled, nil if telemetry is disabled.
60 61 62 63 64 65 66 67 68 69 |
# File 'lib/datadog/core/telemetry/worker.rb', line 60 def start(initial_event) return if !enabled? || forked? @initial_event = initial_event # starts async worker # perform should return true if thread was actually started, # false otherwise perform end |