Skip to content

Commit 1d50c41

Browse files
committed
add a bit of comments
1 parent abed2e6 commit 1d50c41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/execution/Queue.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ export class Queue<T> {
2525
try {
2626
result = executor(this._push.bind(this), this.stop.bind(this));
2727
} catch {
28-
// ignore errors
28+
// ignore sync executor errors
2929
}
3030
if (isPromise(result)) {
3131
result.catch(() => {
32-
// ignore errors
32+
/* ignore async executor errors */
3333
});
3434
}
3535
}

0 commit comments

Comments
 (0)