n8n
Version:
n8n Workflow Automation Tool
11 lines • 427 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.createSchedulerTracer = createSchedulerTracer;
function createSchedulerTracer(tracing) {
return {
startSpan: async ({ newTrace, ...options }, run) => await (newTrace === true
? tracing.startNewTraceSpan(options, run)
: tracing.startSpan(options, run)),
};
}
//# sourceMappingURL=scheduler-tracer.js.map