<div dir="ltr">I think it would be good for the community to move forward and use latest technology. Node 0.12 is already very old, given the current version is 6.<div><br></div><div>How about getting promisses in, and afterwards release this as a 1.0.0 release ? </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 5, 2016 at 5:14 PM, Luke Holmquist <span dir="ltr">&lt;<a href="mailto:lholmqui@redhat.com" target="_blank">lholmqui@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div><div><div>Hello people,<br><br></div>I think i would like to move the unifiedpush-node-sender, <a href="https://github.com/aerogear/aerogear-unifiedpush-nodejs-client" target="_blank">https://github.com/aerogear/aerogear-unifiedpush-nodejs-client</a> ,  to be Promise based.<br><br></div>Currently it uses callback pattern that many node.js packages use as well as emitting events.<br><br></div>When i first created this 3 years ago, that was sort of the standard way of doing things,  but Promises have become very popular(i know i love them :)) and have been a native feature since node 0.12.x<br><br></div>considering we have not yet hit a 1.0.0, we can pretty much just make this change and we will be ok.<br><br></div>If this is to big of a change all at once, we could always do both callbacks and Promises.  I think we did this for Datamanager in the past.<br><br></div>Perhaps once we fully move to promises, then we can hit a 1.0.0<br><br></div>My only concern is other projects that might be using the sender that are not yet on node 0.12 or above, since this is when promises became native.  I would really like to not have to include the polyfill.<br><br></div>i suppose those users would need to stick to the previous versions then.<br><br></div>anyway,  would like to hear some thoughts.<span class="HOEnZb"><font color="#888888"><br><br><br></font></span></div><span class="HOEnZb"><font color="#888888">-Luke<br><div><div><div><br><br><div><div><div><div><div><br>  <br></div></div></div></div></div></div></div></div></font></span></div>
<br>_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div>
</div>