0.0
No commit activity in last 3 years
No release in over 3 years
Queued client library for Ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0

Runtime

< 0.10, >= 0.8
< 0.10, >= 0.8
 Project Readme

queued-ruby

Queued client for Ruby

Example

require 'queued-ruby'

client = Queued::Client.new('http://localhost:5353', auth: 'secret')
queue = client.queue('testing')

Producer:

item = queue.enqueue(foo: 'bar')

Consumer:

item = queue.dequeue(timeout: 10, wait: 30)
if item
  p item.value
  item.complete
end

Install

gem install queued-ruby