-
Notifications
You must be signed in to change notification settings - Fork 284
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
[Documentation] Add simple example how to use Vibe.d timers #434
Comments
Is the added unittest-example enough, or do you have something additional in mind? |
Thanks for unittest example. It's good as very simple example. Can we add a little more complex example for |
So what exactly are you after? Some kind of task interaction in a certain situation? I always looked at timers/sleep as something so simple that they are barely worth an example. |
OK. Have we got unittest for |
I was seriously asking myself "WTF should an example for |
I think it would be useful to have an example that shows how sleep doesn't block other tasks.
|
Yes, it is.
Yes, it looks like a little more complex example that I wanted to see. |
But then I'd have to add examples for each and every blocking function, to show that it doesn't block other tasks. I don't know, maybe half a sentence about in the description is clear enough? But in general this is a basic concept of the whole library, so I don't think repeating it all over again for every function is a good idea. |
OK, OK. As I said, simple unittest should be enough. |
See also http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/thread/8516/
The text was updated successfully, but these errors were encountered: