Commit 3fa79f9
committed
fix(api): make Tracing.group return Disposable
Tracing.group() now returns a Disposable that calls groupEnd() on
dispose, enabling `await using` pattern for automatic group cleanup.1 parent 1ed53ac commit 3fa79f9
4 files changed
Lines changed: 5 additions & 2 deletions
File tree
- docs/src/api
- packages
- playwright-client/types
- playwright-core
- src/client
- types
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| 308 | + | |
308 | 309 | | |
309 | 310 | | |
310 | 311 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21957 | 21957 | | |
21958 | 21958 | | |
21959 | 21959 | | |
21960 | | - | |
| 21960 | + | |
21961 | 21961 | | |
21962 | 21962 | | |
21963 | 21963 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21957 | 21957 | | |
21958 | 21958 | | |
21959 | 21959 | | |
21960 | | - | |
| 21960 | + | |
21961 | 21961 | | |
21962 | 21962 | | |
21963 | 21963 | | |
| |||
0 commit comments