mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 04:09:49 +00:00
Fix incorrect comment in JobQueue#add
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user