Queues
Queues are used to perform asynchronous operations in the background. Their main purpose is to handle time consuming processes outside of the main execution thread in order to keep the UI responsive and usable and the user experience friendly and fluid. Report generation and tasks that are repeatable or periodical are good examples of operations that should be placed in a queue instead of in the main thread.
Note the primary queue types are
- Process - A FIFO sychronous execution of jobs
- Scheduled - A timed execution of a job that often repeats. e.g. A nightly operation
Example
Our example on Queues will help you get the hang of the basics