chore: update concurrency.ts
compeleted -> completed
This commit is contained in:
committed by
GitHub
parent
929beb5f5a
commit
1775462fae
@@ -74,7 +74,7 @@ export default class Concurrency {
|
|||||||
/**
|
/**
|
||||||
* Waits until there is no running nor waiting job. \
|
* Waits until there is no running nor waiting job. \
|
||||||
* If the concurrency manager is idle at the time of calling this function,
|
* If the concurrency manager is idle at the time of calling this function,
|
||||||
* it waits until at least one job is compeleted (can be "presubscribed").
|
* it waits until at least one job is completed (can be "presubscribed").
|
||||||
* @returns Promise, resolved after there is no running/waiting worker.
|
* @returns Promise, resolved after there is no running/waiting worker.
|
||||||
*/
|
*/
|
||||||
waitForCompletion(): Promise<void> {
|
waitForCompletion(): Promise<void> {
|
||||||
@@ -82,4 +82,4 @@ export default class Concurrency {
|
|||||||
this.waiting.push(res);
|
this.waiting.push(res);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user