performSubTasks()

in worker.js [33:36]


  performSubTasks(['Send receipt email', 'Update inventory'], function () {
    apm.endTransaction()
    queue(processCompletedOrder)
  })