Skip to content

Commit 9020a30

Browse files
committed
clean up
1 parent 5ded32c commit 9020a30

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

packages/aws-lambda-graphql/src/ArrayPubSub.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,6 @@ export class ArrayPubSub {
2020
this.events = events;
2121
}
2222

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-
throw new Error("Please do not use this PubSub implementation");
33-
}
34-
3523
asyncIterableIterator(eventNames: string | readonly string[]) {
3624
const names = Array.isArray(eventNames) ? eventNames : [eventNames];
3725

packages/aws-lambda-graphql/src/utils/asyncIterator.ts

Whitespace-only changes.

0 commit comments

Comments
 (0)