mirror of https://gitee.com/bigwinds/arangodb
Added intro.
This commit is contained in:
parent
300ebaf53e
commit
359073aad1
|
@ -1,5 +1,9 @@
|
||||||
!CHAPTER Foxx Job Queues
|
!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*
|
*Examples*
|
||||||
|
|
||||||
The following Foxx route handler will enqueue a job whenever the *"/log"* route is accessed that prints "Hello World!" to the server log.
|
The following Foxx route handler will enqueue a job whenever the *"/log"* route is accessed that prints "Hello World!" to the server log.
|
||||||
|
|
Loading…
Reference in New Issue