Package

zio

blocking

Permalink

package blocking

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. blocking
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Blocking extends Serializable

    Permalink

    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.

Value Members

  1. object Blocking extends Serializable

    Permalink
  2. def blocking[R1 <: Blocking, E, A](zio: ZIO[R1, E, A]): ZIO[R1, E, A]

    Permalink
  3. def blockingExecutor: ZIO[Blocking, Nothing, Executor]

    Permalink
  4. def effectBlocking[A](effect: ⇒ A): ZIO[Blocking, Throwable, A]

    Permalink
  5. def effectBlockingCancelable[A](effect: ⇒ A)(cancel: UIO[Unit]): ZIO[Blocking, Throwable, A]

    Permalink

Deprecated Value Members

  1. def interruptible[A](effect: ⇒ A): ZIO[Blocking, Throwable, A]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use effectBlocking()

Inherited from AnyRef

Inherited from Any

Ungrouped