cats.effect
package cats.effect
Type members
Classlikes
sealed abstract case class ExitCode
Represents the exit code of an application.
code
is constrained to a range from 0 to 255, inclusive.- Companion
- object
A pure abstraction representing the intention to perform a
side effect, where the result of that side effect is obtained
synchronously.
side effect, where the result of that side effect is obtained
synchronously.
SyncIO
is similar to IO, but does not support asynchronouscomputations. Consequently, a
SyncIO
can be run synchronouslyto obtain a result via
unsafeRunSync
. This is unlikeIO#unsafeRunSync
, which cannot be safely called in general --doing so on the JVM blocks the calling thread while the
async part of the computation is run and doing so on Scala.js
throws an exception upon encountering an async boundary.
- Companion
- object