Exemplo n.º 1
0
 public Dictionary <string, object> payload()
 {
     return((Dictionary <string, object>)Resque.decode(job()["payload"].ToString()));
 }
Exemplo n.º 2
0
 public Dictionary <string, object> job()
 {
     return((Dictionary <string, object>)Resque.decode(Resque.redis().Get("resque:worker:" + workerId())));
 }