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
Instead of working around faye it might be better to find an alternative that allows a better support for the Streaming API and jsforce's features (mostly allow to refresh expired tokens without losing the connection).
Chiming in as I'm the author of the Pub/Sub API repo quoted above. I had some discussions with some core jsforce contributors about this and for the sake of transparency, I want to share where we landed. FYI @stomita.
I'm totally up to include the Pub/Sub API client in jsforce but there's a major blocker: jsforce is intended to remain isomorphic (works in browser and Node.js) whereas my client is Node only.
I did some investigations to see if I could port my client to support both environments but it's not possible because the gRPC client I use only works on Node (probably because it uses binary streams).
Activity
riekusr commentedon Jun 16, 2024
I think adding Pub/Sub API support would be the best way forward, there is already a nice implementation of it:
https://github.com/pozil/pub-sub-api-node-client
pozil commentedon Jul 31, 2024
Chiming in as I'm the author of the Pub/Sub API repo quoted above. I had some discussions with some core jsforce contributors about this and for the sake of transparency, I want to share where we landed. FYI @stomita.
I'm totally up to include the Pub/Sub API client in jsforce but there's a major blocker: jsforce is intended to remain isomorphic (works in browser and Node.js) whereas my client is Node only.
I did some investigations to see if I could port my client to support both environments but it's not possible because the gRPC client I use only works on Node (probably because it uses binary streams).