Fix incorrect comment in JobQueue#add

This commit is contained in:
Evan Hahn 2021-08-27 15:20:16 -05:00 committed by GitHub
parent 7d7dce3d16
commit 853e27e9eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {