(opts: TraceOptions, fn: any)
| 45 | }; |
| 46 | tracer?.begin(traceArgs); |
| 47 | const childTrace = (opts: TraceOptions, fn: any) => { |
| 48 | return _autoTrace( |
| 49 | tracer?.child(traceArgs) ?? null, |
| 50 | opts.newRoot ? nextRoot() : autoTraceId, |
| 51 | opts, |
| 52 | fn, |
| 53 | ); |
| 54 | }; |
| 55 | (childTrace as any)._autoEnd = true; |
| 56 | (childTrace as any)._end = () => tracer?.end(traceArgs); |
| 57 | try { |
no test coverage detected