-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can Jobs be used with the new async system in vapor 3 #41
Comments
Would love to know how this would work in vapor 3 or if there is something similar for vapor 3. Do you know if you will update this for vapor 3? If I want to repeat a task within my vapor app every 10 seconds, is this the correct package/framework to use? |
@nevinjethmalani With NIO, you can schedule tasks on an |
@Mordil can you tell me how I would do that? I am new to vapor and don't even know where I would start putting code for something like this. |
@nevinjethmalani In your You can recursively schedule the same task again as the final thing done in the task you schedule, so that it repeats indefinitely for the app's lifetime. |
@BrettRToomey, Can Jobs be used with the new async system in vapor 3?
The text was updated successfully, but these errors were encountered: