Closed Nonemoticoner closed 9 years ago
Great! Thanks for the PR. I have a few notes:
message.addData("key1", "msg1");
Sender#send
method, rather than Sender#sendNoRetry
. All you need to do is change the method name -- it takes the same arguments.Uh, and one small thing: we should try and be consistent with the code style. The other examples use this for error checking/logging:
if(err) console.error(err);
else console.log(result);
You should probably use this to be consistent :)
Done, as you pleased. I'm not that convinced to be so consistent. For me, it implies too much Ctrl+C > Ctrl+V bad practice but whatever. I believe you can merge it now.
Great! Remember to add yourself to the contributors list in package.json and in the README - then I'll merge :)
Just a note on the consistency of code style (that you comment on): the code people first see, using the library, will probably use the style that they will themselves adopt. I think it's significant what we show new users of the library. Does it have to be this particular convention? No. But showing them that we stick to a convention fosters a better mentality (and more readable code).
Done, you can merge ;)
Sorry for the long wait - I got hit by the flu :(
I propose such solution for #70 No need to make it more complex. Let's keep it simple.