This repository has been archived by the owner on Jul 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
queue writes until first connection is established #19
Comments
+1 |
1 similar comment
+1 |
Not only for testing imo. It makes the code using nsq.js simpler as well. |
kinda hacky :( it's a fundamental flaw in node as a platform, feels weird doing per-library fixes |
people can just use this: https://github.com/juliangruber/deferred-method. would you consider adding it to core though? |
mixed feelings, it's definitely annoying to not have, but definitely a fundamental problem that everything in node has issues with, so in that sense a separate module makes sense |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
mostly for testing etc, annoying to add a ton of callbacks for initialization
The text was updated successfully, but these errors were encountered: