lib/asynchronic/job.rb in asynchronic-1.3.1 vs lib/asynchronic/job.rb in asynchronic-1.4.0

- old
+ new

@@ -23,16 +23,18 @@ process.id end private + attr_reader :process + def async(type, params={}) - @process.nest type, params + process.nest type, params nil end def set(key, value) - @process.set key, value + process.set key, value end def retry_when(exceptions, interval=1) yield rescue *exceptions => ex \ No newline at end of file