-
Notifications
You must be signed in to change notification settings - Fork 532
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
Enrich the delay
scaladoc for IO
and Sync
#2654
Conversation
7fcdc26
to
f2438ff
Compare
@@ -931,13 +931,19 @@ object IO extends IOCompanionPlatform with IOLowPriorityImplicits { | |||
|
|||
/** | |||
* Suspends a synchronous side effect in `IO`. | |||
* Use [[IO.apply]] if your side effect is not thread-blocking; | |||
* otherwise you should use [[IO.blocking]] or `IO.interruptible` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, the direct link to the IO.interruptible
is ambiguous. And it could be fixed only by a fully qualified name. That's too extra, I think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, that's annoying. I actually don't know how to do that anyway :)
Co-authored-by: Arman Bilge @armanbilge armanbilge@gmail.com
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this will help users a lot I think!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much!
This is a minor thing but should help in picking a suitable constructor.