`tracing._export({ path })` exports current tracing state into a file
and does not require tracing to be stopped.
`tracing._reset()` resets current tracing state, but keeps resources
around so they can be referenced in the future snapshots. Does not stop.
The usage pattern is:
```js
await tracing.start({ screenshots: true, snapshots: true });
// ...
await tracing._reset();
// Do stuff, it will all be in the export below.
await tracing._export({ path });
// ...
await tracing.stop();
```
|
||
|---|---|---|
| .. | ||
| callMetadata.ts | ||
| channels.ts | ||
| protocol.yml | ||
| serializers.ts | ||
| transport.ts | ||
| validator.ts | ||
| validatorPrimitives.ts | ||