zlacker

[parent] [thread] 2 comments
1. speedg+(OP)[view] [source] 2021-10-27 20:03:32
Yes it's not very shinning there. I would also throw the error instead of printing the error to the console and returning undefined.
replies(1): >>ponyou+Dl
2. ponyou+Dl[view] [source] 2021-10-27 22:12:08
>>speedg+(OP)
You are in a callback there. Goodbye your error!
replies(1): >>speedg+Ui1
◧◩
3. speedg+Ui1[view] [source] [discussion] 2021-10-28 07:34:25
>>ponyou+Dl
Oh right. I once made a layer on top of the redis client to use promises because callbacks are a pain to deal with.
[go to top]