Skip to content

Commit

Permalink
Enrich the scaladoc
Browse files Browse the repository at this point in the history
  • Loading branch information
danicheg committed Dec 15, 2021
1 parent 97d987f commit 7fcdc26
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/shared/src/main/scala/cats/effect/IO.scala
Original file line number Diff line number Diff line change
Expand Up @@ -931,6 +931,9 @@ 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]]
* depending on the need of the created effect cancelation.
*
* Alias for `IO.delay(body)`.
*/
Expand Down

0 comments on commit 7fcdc26

Please sign in to comment.