Skip to content

Commit

Permalink
chore: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
kravetsone committed Sep 24, 2024
1 parent 4407011 commit f6146eb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,15 @@ const job1 = defineJob("some")
// ^?
});

const job1 = await defineJob("some-cron")
await job1.add(
"some",
{ date: new Date().toISOString() },
{
delay: 5000,
}
);

const job2 = await defineJob("some-cron")
.input<{ date: string }>()
.options({
limiter: {
Expand Down

0 comments on commit f6146eb

Please sign in to comment.