You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
The query() function in BaseObject just pushes the payload to the SocketObject queryStream, which is then responsible for performing the actual query. But how does the data get returned to the original object that requested it?
Is there some sort of callback on the event/payload that allows the socket to return a promise?
While I'm still experimenting with all this, I'm not using sockets myself, instead I just have a dataManager object in place of the socket which will query a REST service.
I know you have that section in the code marked as TODO, but if you could point me in the right direction I'd really appreciate it. Thanks