A small gem which provides a retry-method for Eventmachine. Synopsis: EM.run do i=0 EM.with_retries 1,2,3 do Kernel.puts "trial #{i+=1}" end end Also included is a convenience wrapper for existing methods. Synopsis: class A extend EMRetryMethod def foo puts 'foo' end retry_method :foo, 1,2,3 end Every call to #foo will be retried after 1, another 2 and another 3 seconds before giving up. NOTE: ONLY WORKS WITH RUBY 1.9
Project
em_retry
A retry-method for Eventmachine and a convenience wrapper.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Development
Dependencies
Project Readme