Skip to content

Commit 372d0eb

Browse files
committed
add comment for subscriptions
1 parent bcf5a72 commit 372d0eb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/execution/executor.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -773,6 +773,10 @@ export class Executor {
773773
return this.executeFields(returnType, result, path, subFieldNodes);
774774
}
775775

776+
/**
777+
* Implements the "Executing operations" section of the spec for
778+
* subscriptions.
779+
*/
776780
async executeSubscription(): Promise<
777781
AsyncGenerator<ExecutionResult, void, void> | ExecutionResult
778782
> {

0 commit comments

Comments
 (0)