Skip to content

Commit

Permalink
rename executeStreamIterator
Browse files Browse the repository at this point in the history
to executeStreamAsyncIterator
  • Loading branch information
yaacovCR authored and IvanGoncharov committed Apr 6, 2023
1 parent 31e1f8c commit fab6426
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/execution/execute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@ async function completeAsyncIteratorValue(
index >= stream.initialCount
) {
// eslint-disable-next-line @typescript-eslint/no-floating-promises
executeStreamIterator(
executeStreamAsyncIterator(
index,
iterator,
exeContext,
Expand Down Expand Up @@ -1947,7 +1947,7 @@ function executeStreamField(
return asyncPayloadRecord;
}

async function executeStreamIteratorItem(
async function executeStreamAsyncIteratorItem(
iterator: AsyncIterator<unknown>,
exeContext: ExecutionContext,
fieldGroup: FieldGroup,
Expand Down Expand Up @@ -2017,7 +2017,7 @@ async function executeStreamIteratorItem(
}
}

async function executeStreamIterator(
async function executeStreamAsyncIterator(
initialIndex: number,
iterator: AsyncIterator<unknown>,
exeContext: ExecutionContext,
Expand All @@ -2044,7 +2044,7 @@ async function executeStreamIterator(
let iteration;
try {
// eslint-disable-next-line no-await-in-loop
iteration = await executeStreamIteratorItem(
iteration = await executeStreamAsyncIteratorItem(
iterator,
exeContext,
fieldGroup,
Expand Down

0 comments on commit fab6426

Please sign in to comment.