(kind: SpanKind, startUs: number)
| 330 | } |
| 331 | |
| 332 | record(kind: SpanKind, startUs: number): void { |
| 333 | if (!AWAITING_KINDS[kind]) { |
| 334 | this.openNonAwaiting++; |
| 335 | } |
| 336 | this.finish(kind, startUs, nowMicros(), undefined, 0); |
| 337 | } |
| 338 | |
| 339 | private close(now: number): void { |
| 340 | const kind = this.openKind.pop()!; |