lib/asynchronic/job.rb in asynchronic-1.5.2 vs lib/asynchronic/job.rb in asynchronic-1.6.0
- old
+ new
@@ -30,9 +30,13 @@
def async(type, params={})
process.nest type, params
nil
end
+ def get(key)
+ process.get key
+ end
+
def set(key, value)
process.set key, value
end
def retry_when(exceptions, interval=1)
\ No newline at end of file