Getting Subscription Updates via custom websocket design #297
-
Hello, So I have a custom setup in relation to using graphjin. I initialise the library and use my own websocket and gin framework for access to the library. Designed like that intentionally. The question is however, is it possible to access the subscriptions layer perhaps for example using a channel to be able to get messages when an update occurs for example and then I can feed that through back to the user with my own implementation? I might've missed something if it's already documented. But any input would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Disregard, I found it here: https://pkg.go.dev/github.com/dosco/graphjin/core#example-package-Subscription |
Beta Was this translation helpful? Give feedback.
-
Funny you mentioned this as today I was looking to swap out the websocket lib to one that supports wasm. What was your use case ? Curious if there was overlap . |
Beta Was this translation helpful? Give feedback.
Disregard, I found it here: https://pkg.go.dev/github.com/dosco/graphjin/core#example-package-Subscription