package blocking
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- blocking
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
- def blocking[R <: Blocking, E, A](zio: ZIO[R, E, A]): ZIO[R, E, A]
- def effectBlocking[A](effect: ⇒ A): ZIO[Blocking, Throwable, A]
- def effectBlockingCancelable[A](effect: ⇒ A)(cancel: UIO[Unit]): ZIO[Blocking, Throwable, A]
- def effectBlockingIO[A](effect: ⇒ A): ZIO[Blocking, IOException, A]
- def effectBlockingInterrupt[A](effect: ⇒ A): ZIO[Blocking, Throwable, A]
-
object
Blocking extends Serializable
The
Blocking
module provides access to a thread pool that can be used for performing blocking operations, such as thread sleeps, synchronous socket/file reads, and so forth.The
Blocking
module provides access to a thread pool that can be used for performing blocking operations, such as thread sleeps, synchronous socket/file reads, and so forth. The contract is that the thread pool will accept unlimited tasks (up to the available memory) and continuously create new threads as necessary.