trait Runtime[F[_]] extends AnyRef
Type class for the effect F that encapsulates the mechanism and configuration for running blocking and/or parallel operations.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Runtime
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
implicit abstract
def
F: Async[F]
The
Async
instance for the type F. -
abstract
def
blocker: Blocker
The execution context for all blocking IO operations.
-
implicit abstract
def
contextShift: ContextShift[F]
The execution context for all CPU-bound processing.
-
abstract
def
parallelInstance: Option[Parallel[F]]
The optional
Parallel
instance for the type F.The optional
Parallel
instance for the type F.If it is missing all parallel invocation will downgrade to sequential execution.
-
abstract
def
parallelism: Int
The desired level of parallelism for all parallel operations.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
runBlocking[A](fa: F[A]): F[A]
Runs the specified effect on the execution context for blocking IO and subsequently switches back to the processing context.
-
def
runParallel[A](fas: Vector[F[A]]): F[Vector[A]]
Runs the specified batch in parallel, but may fall back to sequential execution depending on configuration.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()