Yields the items of query one at a time across pages, following the next page cursor.
queryItems(params: StreamingQueryParams, options: RequestOptions): AsyncIterable<Trace>| Name | Type | Description |
|---|---|---|
params* | StreamingQueryParams | |
options | RequestOptions |
// Automatically fetches more pages as needed.
for await (const trace of client.traces.streaming.queryItems(
{},
)) {
// ...
}