C4K3 / ozelot

Rust library for handling all MCMODERN networking
Creative Commons Zero v1.0 Universal
34 stars 9 forks source link

Sleep in lib.rs example #1

Closed thinkier closed 6 years ago

thinkier commented 6 years ago

Currently lib.rs doesn’t have any mention of needing to sleep in the loop, might be a good idea add that so new users can be aware of it. examples/ is fine though. Otherwise, solid library.

C4K3 commented 6 years ago

Oh in the example? Yeah that's probably a good idea. If you want, you're very welcome to change it yourself and send a PR, otherwise I'll do it when I have time.

I started on a more complete example using mio, but never finished it. Hopefully I'll get that done soon.