(cb: (span: ISpan) => void)
| 68 | } |
| 69 | |
| 70 | onSpanEnd(cb: (span: ISpan) => void): () => void { |
| 71 | this._emitter.on('spanend', cb) |
| 72 | return () => { |
| 73 | this._emitter.off('spanend', cb) |
| 74 | } |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | export type { ISpan as Span } |
no test coverage detected