Fix incorrect comment in JobQueue#add
This commit is contained in:
parent
7d7dce3d16
commit
853e27e9eb
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ export abstract class JobQueue<T> {
|
|||
/**
|
||||
* Add a job, which should cause it to be enqueued and run.
|
||||
*
|
||||
* If `streamJobs` has not been called yet, it will be called.
|
||||
* If `streamJobs` has not been called yet, this will throw an error.
|
||||
*/
|
||||
async add(data: Readonly<T>): Promise<Job<T>> {
|
||||
if (!this.started) {
|
||||
|
|
Loading…
Add table
Reference in a new issue