3 ms·
Some older libraries will still be callback driven, and one important thing is always resolving or rejecting promise.
by tehlike 7y ago
Some older libraries will still be callback driven, and one important thing is always resolving or rejecting promise.
- CraftThatBlock 7y agoIf it's callback driven, is it a Promise mistake or a callback mistake? I don't think it would apply here
- tehlike 7y agoMost of the time first thing i do is to wrap the library call in a promise. Callbacks are really bad after a few nested ones, bht promise doesnt eliminate all the problrms