# traceNext

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

Read the next batch of causal trace records.

```ds title="traceNext"
export declare function traceNext(cursor: TraceCursorHandle, limit: uint32): Result<TraceRecordPage, HostError>
```

[language/library/src/runtime/trace.ds:100:103](https://github.com/destack-sh/destack/blob/main/language/library/src/runtime/trace.ds#L100-L103)
