* Runs `fn` as a synchronous section on the main thread, ended when `fn` returns or throws. A * `fileId` of 0 means no file.
(kind: SpanKind, fn: () => T, fileId?: number)
| 181 | * `fileId` of 0 means no file. |
| 182 | */ |
| 183 | slice<T>(kind: SpanKind, fn: () => T, fileId?: number): T; |
| 184 | /** |
| 185 | * Like `slice`, for a driver-level await during which nothing else runs on the main thread |
| 186 | * (the `AWAITING_KINDS`). The section ends when the promise settles. |
no outgoing calls