package effect
- Source
- package.scala
- Alphabetic
- By Inheritance
- effect
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- type Async[F[_]] = effect.kernel.Async[F]
- type Clock[F[_]] = effect.kernel.Clock[F]
- type Concurrent[F[_]] = effect.kernel.GenConcurrent[F, Throwable]
- type Effect[F[_]] = effect.kernel.Effect[F]
-
sealed abstract
case class
ExitCode extends Product with Serializable
Represents the exit code of an application.
Represents the exit code of an application.
code
is constrained to a range from 0 to 255, inclusive. - type Fiber[F[_], E, A] = effect.kernel.Fiber[F, E, A]
- type FiberIO[A] = effect.kernel.Fiber[IO, Throwable, A]
- type GenConcurrent[F[_], E] = effect.kernel.GenConcurrent[F, E]
- type GenSpawn[F[_], E] = effect.kernel.GenSpawn[F, E]
- type GenTemporal[F[_], E] = effect.kernel.GenTemporal[F, E]
- sealed abstract class IO[+A] extends IOPlatform[A]
- trait IOApp extends AnyRef
- trait LiftIO[F[_]] extends AnyRef
- type MonadCancel[F[_], E] = effect.kernel.MonadCancel[F, E]
- type MonadCancelThrow[F[_]] = effect.kernel.MonadCancel[F, Throwable]
- type MonadThrow[F[_]] = MonadError[F, Throwable]
- type Outcome[F[_], E, A] = effect.kernel.Outcome[F, E, A]
- type OutcomeIO[A] = effect.kernel.Outcome[IO, Throwable, A]
- type ParallelF[F[_], A] = T[F, A]
- type Poll[F[_]] = effect.kernel.Poll[F]
- type Resource[+F[_], +A] = effect.kernel.Resource[F, A]
- type ResourceIO[A] = effect.kernel.Resource[IO, A]
- type Spawn[F[_]] = effect.kernel.GenSpawn[F, Throwable]
- type Sync[F[_]] = effect.kernel.Sync[F]
- type SyncEffect[F[_]] = effect.kernel.SyncEffect[F]
-
sealed abstract
class
SyncIO[+A] extends AnyRef
A pure abstraction representing the intention to perform a side effect, where the result of that side effect is obtained synchronously.
A pure abstraction representing the intention to perform a side effect, where the result of that side effect is obtained synchronously.
SyncIO
is similar to IO, but does not support asynchronous computations. Consequently, aSyncIO
can be run synchronously to obtain a result viaunsafeRunSync
. 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. - type Temporal[F[_]] = effect.kernel.GenTemporal[F, Throwable]
- trait UnsafeTimer extends AnyRef
Value Members
- val Async: effect.kernel.Async.type
- val Clock: effect.kernel.Clock.type
- val Concurrent: effect.kernel.GenConcurrent.type
- val Effect: effect.kernel.Effect.type
- val GenConcurrent: effect.kernel.GenConcurrent.type
- val GenSpawn: effect.kernel.GenSpawn.type
- val GenTemporal: effect.kernel.GenTemporal.type
- val MonadCancel: effect.kernel.MonadCancel.type
- val Outcome: effect.kernel.Outcome.type
- val ParallelF: effect.kernel.Par.ParallelF.type
- val Resource: effect.kernel.Resource.type
- val Spawn: effect.kernel.GenSpawn.type
- val Sync: effect.kernel.Sync.type
- val SyncEffect: effect.kernel.SyncEffect.type
- val Temporal: effect.kernel.GenTemporal.type
- object ExitCode extends Serializable
- object IO extends IOCompanionPlatform with IOLowPriorityImplicits
- object IOApp
- object LiftIO
- object SyncIO extends SyncIOLowPriorityImplicits
- object UnsafeTimer