angular-ui / AngularJS-StyleGuide

Example of scalable architecture for my NG-Conf 2014 talk
http://www.youtube.com/watch?v=Iw-3qgG_ipU
284 stars 53 forks source link

How do the new query be sent? #14

Closed lionng429 closed 9 years ago

lionng429 commented 9 years ago

I look through the codes and found that the send function of Socket is called only in setupQueryStream.

The active queries are passed to the stream, but it seems that they are not being sent out.

May I know how could it handle active query requests ??

ProLoser commented 9 years ago

Keep in mind that some of this code was theoretical, but this line would send the query to the server https://github.com/ProLoser/AngularJS-ORM/blob/master/modules/Socket.coffee#L26

lionng429 commented 9 years ago

Thanks for the reply. I forgot this is put into the stream listeners.