Skip to content

Commit

Permalink
polish(incremental): remove outdated reference to subsequentResult
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacovCR committed Aug 13, 2024
1 parent 273ba88 commit 374c1f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/execution/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,9 @@ export type CompletedExecutionGroup =
| FailedExecutionGroup;

export function isCompletedExecutionGroup(
subsequentResult: CompletedExecutionGroup | StreamItemsResult,
): subsequentResult is CompletedExecutionGroup {
return 'pendingExecutionGroup' in subsequentResult;
incrementalDataRecordResult: IncrementalDataRecordResult,
): incrementalDataRecordResult is CompletedExecutionGroup {
return 'pendingExecutionGroup' in incrementalDataRecordResult;
}

export interface SuccessfulExecutionGroup {
Expand Down

0 comments on commit 374c1f4

Please sign in to comment.