Conversation
|
I'm not sure if I'm a total fan of postfixing all API with |
|
Yeah, sorry I'm bit shit at describing my thoughts and figured code is the best way. I don't mind evolving or scrapping this PR. As fars as I personally would have preferred to called it |
|
Myself, I was thinking it may be nice to be able to get a promisified version of const locks = require('locks/promise');Or something like that. That's just one alternative, there may be more :) |
|
Been quite busy meself, and it is now fixed. And Yeah, I would agree that doing such sub directory is a better idea. I've tried to reutilize existing logic so plea feel free to let me know. |
fix: #15
WIP
Semaphore.waitAsync()that returns a promise(will add implementations and tests to others when current impl is deemed acceptable)