stitchng / adonis-queue

An addon/plugin package to provide driver-based job queueing services in AdonisJS 4.0+
MIT License
34 stars 9 forks source link

Update index.js #6

Closed harlancleiton closed 4 years ago

harlancleiton commented 4 years ago

Proposed changes

Enable feature to delay a task

Types of changes

What types of changes does your code introduce?

Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

Further comments

First, thanks for the provider. Also sorry for any possible typos (Google Translate). I needed something like Java's QuartzScheduler, and I discovered BeeQueue, but it looks like the way adonis-queue doesn't provide this implementation, so I made a slight modification to the code.