We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ded32c commit 9020a30Copy full SHA for 9020a30
packages/aws-lambda-graphql/src/ArrayPubSub.ts
@@ -20,18 +20,6 @@ export class ArrayPubSub {
20
this.events = events;
21
}
22
23
- async publish() {
24
- throw new Error("ArrayPubSub is read only");
25
- }
26
-
27
- async subscribe(): Promise<number> {
28
- throw new Error("Please do not use this PubSub implementation");
29
30
31
- async unsubscribe() {
32
33
34
35
asyncIterableIterator(eventNames: string | readonly string[]) {
36
const names = Array.isArray(eventNames) ? eventNames : [eventNames];
37
packages/aws-lambda-graphql/src/utils/asyncIterator.ts
0 commit comments