2022-08-06 14:49:20 +00:00
|
|
|
---
|
|
|
|
sidebar_label: Tracing.stop
|
|
|
|
---
|
|
|
|
|
|
|
|
# Tracing.stop() method
|
|
|
|
|
|
|
|
Stops a trace started with the `start` method.
|
|
|
|
|
2022-10-24 14:31:12 +00:00
|
|
|
#### Signature:
|
2022-08-06 14:49:20 +00:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
class Tracing {
|
|
|
|
stop(): Promise<Buffer | undefined>;
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
**Returns:**
|
|
|
|
|
|
|
|
Promise<Buffer \| undefined>
|
|
|
|
|
|
|
|
Promise which resolves to buffer with trace data.
|