Skip to content

Commit 8a9de78

Browse files
docs: remove outdated TODO comment from finished() method
The watchdog functionality mentioned in the TODO has already been implemented in lib/job.js. The setInterval-based watchdog checks job completion status periodically using FINISHED_WATCHDOG constant.
1 parent 489c6ab commit 8a9de78

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

index.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,6 @@ declare namespace Bull {
284284

285285
/**
286286
* Returns a promise that resolves to the returned data when the job has been finished.
287-
* TODO: Add a watchdog to check if the job has finished periodically.
288-
* since pubsub does not give any guarantees.
289287
*/
290288
finished(): Promise<any>;
291289

0 commit comments

Comments
 (0)