* Wraps `run` in a span named `name`, seeded with `attributes`. The * callback receives a `WorkspaceSpan` it can use to attach further * attributes once the work has produced values worth recording (byte * counts, exit codes, applied / skipped counts). * * Implementations must run `ru
(
name: string,
attributes: WorkspaceAttributes,
run: (span: WorkspaceSpan) => Promise<T>,
)
| 110 | * caller. Errors thrown by `run` must propagate. |
| 111 | */ |
| 112 | span<T>( |
| 113 | name: string, |
| 114 | attributes: WorkspaceAttributes, |
| 115 | run: (span: WorkspaceSpan) => Promise<T>, |
no outgoing calls
no test coverage detected