Skip to content

Commit afeff3f

Browse files
committed
Mark concrete class with internal
1 parent cfe0a19 commit afeff3f

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.api-reports/api-report-incremental.api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ export namespace Incremental {
251251

252252
// @public (undocumented)
253253
class IncrementalRequest<TData> implements Incremental.IncrementalRequest<GraphQL17Alpha9Handler.Chunk<TData>, TData> {
254-
// (undocumented)
254+
// @internal @deprecated (undocumented)
255255
getPendingWithInfo(): ({
256256
type: "stream";
257257
path: Incremental.Path;
@@ -265,7 +265,7 @@ class IncrementalRequest<TData> implements Incremental.IncrementalRequest<GraphQ
265265
handle(cacheData: TData | DeepPartial<TData> | null | undefined, chunk: GraphQL17Alpha9Handler.Chunk<TData>): FormattedExecutionResult<TData>;
266266
// (undocumented)
267267
hasNext: boolean;
268-
// (undocumented)
268+
// @internal @deprecated (undocumented)
269269
get streamInfo(): StreamInfoTrie | undefined;
270270
}
271271

src/incremental/handlers/graphql17Alpha9.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,12 @@ class IncrementalRequest<TData>
101101
// of future stream items from already merged stream items.
102102
private streamPositions: Record<string, number> = {};
103103

104+
/** @internal */
104105
get streamInfo() {
105106
return this._streamInfo["strong"] ? this._streamInfo : undefined;
106107
}
107108

109+
/** @internal */
108110
getPendingWithInfo() {
109111
return Array.from(this.pendingMap.values()).map((pending) => {
110112
if (pending.id in this.streamPositions) {

0 commit comments

Comments
 (0)