Re: [nodejs] redis-client

2012-07-02 Thread Arnout Kazemier
it uses an error first callback style, so reply is actually the variable slot for the error.. Which is undefined because there isn't an error.. do: rclient.hincrby "SERVERS", "IP", 1, (err, reply) -> console.log reply instead On Monday, July 2, 2012 at 2:53 PM, Angelo Chen wrote: > Hi, > > t

[nodejs] redis-client

2012-07-02 Thread Angelo Chen
Hi, this works, but why reply is undefined? rclient.hincrby "SERVERS", "IP", 1, (reply) -> console.log reply thanks, angelo -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this m

Re: [nodejs] Re: [HELP] Does NodeJS Redis Client Support BLPOP

2012-06-23 Thread Arunoda Susiripala
> >> I just figure it out. >> http://pastebin.com/**pEUW0G56<http://pastebin.com/pEUW0G56> >> >> cheers >> >> >> On Fri, Jun 3, 2011 at 8:41 PM, >> arunoda.susiripala >> wrote: >> >> hi, >>> >>> I want to k

[nodejs] Re: [HELP] Does NodeJS Redis Client Support BLPOP

2012-06-23 Thread Damien Filiatrault
rote: > >> hi, >> >> I want to know that nodejs redis client (npm install redis) supports >> BLPOP command or not? >> If so can some on show me how to do that? >> >> thanks. >> >> -- >> Arunoda Susiripala >> http://arunoda.com