From beaca66a3bc6a2501c964609479646a2201751f3 Mon Sep 17 00:00:00 2001 From: Yaacov Rydzinski Date: Fri, 18 Jun 2021 04:04:04 +0300 Subject: [PATCH] add comment for subscriptions --- src/execution/executor.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/execution/executor.ts b/src/execution/executor.ts index f82ad30bba2..67f497793bf 100644 --- a/src/execution/executor.ts +++ b/src/execution/executor.ts @@ -773,6 +773,10 @@ export class Executor { return this.executeFields(returnType, result, path, subFieldNodes); } + /** + * Implements the "Executing operations" section of the spec for + * subscriptions. + */ async executeSubscription(): Promise< AsyncGenerator | ExecutionResult > {