-
Notifications
You must be signed in to change notification settings - Fork 529
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
More scaladoc #2132
More scaladoc #2132
Conversation
If you are making more changes, tag me as a reviewer when you're done and I'll take a look. 😄 |
I'll take a look later tonight. |
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.
Much appreciated scaladoc. I left a few suggestions, feel free to accept them or ignore them. I will officially Approve the PR before merging.
* {{{ | ||
* IO.println("Hello, World!").foreverM // continues printing forever | ||
* }}} | ||
*/ | ||
def foreverM: IO[Nothing] = Monad[IO].foreverM[A, Nothing](this) |
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.
Does it matter if we change this to IO.asyncForIO.foreverM[A, Nothing](this)
?
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.
It's probably slightly faster to do so in fact. Very slightly.
@@ -20,16 +20,193 @@ import scala.concurrent.{blocking, CancellationException} | |||
|
|||
import java.util.concurrent.CountDownLatch | |||
|
|||
/** |
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.
This is great.
Co-authored-by: Vasil Vasilev <vasil@vasilev.io>
Still lots of stuff to do.