Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A simple tutorial #4

Open
codecandy2015 opened this issue Aug 4, 2019 · 0 comments
Open

A simple tutorial #4

codecandy2015 opened this issue Aug 4, 2019 · 0 comments

Comments

@codecandy2015
Copy link

Hi,
I am new to RUST, I have to use NATS in my project. I am learning how Futures are working .. unfortunately, it is so hard to understand your example code.

is there some step by step tutorial that you have perhaps ?. I can am happy to write one if you like, however, I have trouble understanding it. I am trying to see how to

  1. connect
  2. subscribe
  3. publish
  4. disconnect

something like .- http://www.steves-internet-guide.com/into-mqtt-python-client/

in the example provided pointing to tests.. it is all chained in futures.. how could one write it more modular that it prints a msg when subscribed without killing the runtime thread ?!.

if your lib is stable and largely used, such a tutorial an benefit enormously

thanks
Candy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant