sadiq
Version, currently master branch1 version
- master branchlatestFeb 6, 2016
github.com/mathieulaporte/sadiq
Async job processing for crystal lang
2 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
sadiq:
github: mathieulaporte/sadiq
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
- no constraint declared
- License
- MIT
- Author
- Mathieu Laporte
Dependencies
Runtime Dependencies
- redis~> 1.2.1github: stefanwille/crystal-redis
README
Sadiq
Async job processing for crystal lang
Installation
Add this to your application's shard.yml:
dependencies:
sadiq:
github: mathieulaporte/sadiq
Usage
require "sadiq"
class Archive < Sadiq::AsyncWorker
register
def perform(args)
# your code...
end
end
Sadiq is resque "compatible", so you can use ruby resque to enqueu jobs, or monitor with resque web.
###Example : In your ruby code :
require 'resque'
class Archive
@queue = 'crystal'
end
You can enqueu jobs like In your crystal code :
require "sadiq"
class Archive < Sadiq::AsyncWorker
register
def perform(args)
# your code...
end
end
After compilation
./your-project-name -c [concurrency] -n [namespace] -q [queue]
Contributing
- Fork it ( https://github.com/[your-github-name]/sadiq/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- [mathieulaporte] Mathieu Laporte - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Feb 6, 2016
- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/mathieulaporte/sadiq
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 13, 2026
- Versions
- 1