# traceClose

`import { traceClose } from "destack:runtime";`

Close one causal trace cursor.

```ds title="traceClose"
export declare function traceClose(cursor: TraceCursorHandle): Result<void, HostError>
```

[language/library/src/runtime/trace.ds:89](https://github.com/destack-sh/destack/blob/main/language/library/src/runtime/trace.ds#L89)
