This example shows how to use async-job-adapter-active_job
.
It supports both immediate dispatch and delayed dispatch using ActiveJob
. For now, you must have redis
running on localhost :)
Start the server:
$ bundle install
$ bundle exec falcon serve
Visit https://localhost:9292/ to enqueue a job.
Start the job server:
$ bundle exec async-job-adapter-active_job-server
- Async::Job - Asynchronous job processing library.
- Async::Job::Adapter::ActiveJob - ActiveJob adapter for
Async::Job
. - Async::Service - Asynchronous service framework (used for job server).