BlockingZio

izumi.functional.bio.BlockingIOInstances.BlockingZio
See theBlockingZio companion class
object BlockingZio extends BlockingZio[Any]

Attributes

Companion
class
Graph
Supertypes
class BlockingZio[Any]
trait BlockingIO2[[_, _] =>> ZIO[Any, _$14, _$15]]
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Inherited types

Attributes

Inherited from:
DivergenceHelper

Attributes

Inherited from:
PredefinedHelper

Value members

Inherited methods

override def shiftBlocking[E, A](f: ZIO[Any, E, A]): ZIO[Any, E, A]

Execute a blocking action on a Blocking thread pool; current task will be safely parked until the blocking task finishes *

Execute a blocking action on a Blocking thread pool; current task will be safely parked until the blocking task finishes *

Attributes

Definition Classes
Inherited from:
BlockingZio
override def syncBlocking[A](effect: => A): ZIO[Any, Throwable, A]

Execute a blocking impure effect on a Blocking thread pool; current task will be safely parked until the blocking task finishes *

Execute a blocking impure effect on a Blocking thread pool; current task will be safely parked until the blocking task finishes *

Attributes

Definition Classes
Inherited from:
BlockingZio
override def syncInterruptibleBlocking[A](effect: => A): ZIO[Any, Throwable, A]

Execute a blocking impure effect on a Blocking thread pool; current task will be safely parked until the blocking task finishes

Execute a blocking impure effect on a Blocking thread pool; current task will be safely parked until the blocking task finishes

If canceled, the task MAY be killed via java.lang.Thread#interrupt. There is no guarantee that this method may promptly, or ever, interrupt the enclosed task, and it may be legally implemented as an alias to syncBlocking

THIS IS USUALLY UNSAFE unless calling well-written libraries that specifically handle java.lang.InterruptedException

Attributes

Definition Classes
Inherited from:
BlockingZio