Skip to content

Commit eef5285

Browse files
committed
docs: add connect statement to example
1 parent bd40638 commit eef5285

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ const dt = new DelayedTasks({
7979
}
8080
});
8181

82+
// Connect redis
83+
await dt.connect()
84+
8285
// Start polling
8386
dt.start();
8487

0 commit comments

Comments
 (0)