1
0
Fork 0

Added intro.

This commit is contained in:
Alan Plum 2014-07-31 15:31:34 +02:00
parent 300ebaf53e
commit 359073aad1
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,9 @@
!CHAPTER Foxx Job Queues
Foxx allows defining job queues that let you perform slow or expensive actions asynchronously. These queues can be used to send e-mails, call external APIs or perform other actions that you do not want to perform directly or want to retry on failure.
For the low-level functionality see the section *Task Management* in the chapter *JavaScript Modules*.
*Examples*
The following Foxx route handler will enqueue a job whenever the *"/log"* route is accessed that prints "Hello World!" to the server log.