InterruptStatusRestore

final class InterruptStatusRestore extends AnyVal
Companion:
object
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def apply[R, E, A](zio: => ZIO[R, E, A])(implicit trace: Trace): ZIO[R, E, A]
def force[R, E, A](zio: => ZIO[R, E, A])(implicit trace: Trace): ZIO[R, E, A]

Returns a new effect that, if the parent region is uninterruptible, can be interrupted in the background instantaneously. If the parent region is interruptible, then the effect can be interrupted normally, in the foreground.

Returns a new effect that, if the parent region is uninterruptible, can be interrupted in the background instantaneously. If the parent region is interruptible, then the effect can be interrupted normally, in the foreground.