Skip to content

Commit

Permalink
Correct type
Browse files Browse the repository at this point in the history
resolve functions do not return a value
  • Loading branch information
Grant Wu committed Apr 1, 2019
1 parent 55d7732 commit 3357933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pubsub-async-iterator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { PubSubEngine } from './pubsub-engine';
*/
export class PubSubAsyncIterator<T> implements AsyncIterator<T> {

private pullQueue: ((value?: any) => Promise<IteratorResult<T>>)[];
private pullQueue: ((value: IteratorResult<T>) => void)[];
private pushQueue: T[];
private eventsArray: string[];
private allSubscribed: Promise<number[]>;
Expand Down

0 comments on commit 3357933

Please sign in to comment.