Closed deitch closed 3 months ago
But isn't that talking directly to the server, i.e. not over the protocol via a client?
Exactly! You can use that not only to talk between processes but between threads (tasks) inside one process, that way you're not using NATS client, just channels inside rust
Oh, so totally different usage. Got it. Updated. Let me know if good to merge.
I did look at the second section about threads, but I was lost. It has the following:
Yep, you can use channels to communicate with server
But isn't that talking directly to the server, i.e. not over the protocol via a client?