package effect
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- effect
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type Async[F[_]] = effect.kernel.Async[F]
- type Clock[F[_]] = effect.kernel.Clock[F]
- type Concurrent[F[_], E] = effect.kernel.Concurrent[F, E]
- type ConcurrentThrow[F[_]] = effect.kernel.Concurrent[F, Throwable]
- type Effect[F[_]] = effect.kernel.Effect[F]
- type Fiber[F[_], E, A] = effect.kernel.Fiber[F, E, A]
- type FiberIO[A] = effect.kernel.Fiber[IO, Throwable, A]
- sealed abstract class IO[+A] extends IOPlatform[A]
- trait IOApp extends AnyRef
- trait LiftIO[F[_]] extends AnyRef
- 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 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[_], E] = effect.kernel.Temporal[F, E]
- type TemporalThrow[F[_]] = effect.kernel.Temporal[F, Throwable]
- trait UnsafeTimer extends AnyRef
Value Members
- val Async: effect.kernel.Async.type
- val Clock: effect.kernel.Clock.type
- val Concurrent: effect.kernel.Concurrent.type
- val Effect: effect.kernel.Effect.type
- val Outcome: effect.kernel.Outcome.type
- val ParallelF: effect.kernel.Par.ParallelF.type
- val Sync: effect.kernel.Sync.type
- val SyncEffect: effect.kernel.SyncEffect.type
- val Temporal: effect.kernel.Temporal.type
- object IO extends IOCompanionPlatform with IOLowPriorityImplicits
- object LiftIO
- object SyncIO extends SyncIOLowPriorityImplicits
- object UnsafeTimer