We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3302cde commit 0bbf258Copy full SHA for 0bbf258
1 file changed
jsonrpc/src/common/semaphore.ts
@@ -55,7 +55,7 @@ export class Semaphore<T = void> {
55
const next = this._waiting.shift()!;
56
this._active++;
57
if (this._active > this._capacity) {
58
- throw new Error(`To many thunks active`);
+ throw new Error(`Too many thunks active`);
59
}
60
try {
61
const result = next.thunk();
@@ -80,4 +80,4 @@ export class Semaphore<T = void> {
80
this.runNext();
81
82
83
-}
+}
0 commit comments