function performSubTask()

in worker.js [60:69]


function performSubTask (name, cb) {
  if (!running) return

  const span = apm.startSpan(name)

  setTimeout(function () {
    if (span) span.end()
    cb()
  }, Math.random() * 1000).unref()
}