Class

zio.ZIO

ZIOAutoCloseableOps

Related Doc: package ZIO

Permalink

implicit final class ZIOAutoCloseableOps[R, E, A <: AutoCloseable] extends AnyVal

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

Instance Constructors

  1. new ZIOAutoCloseableOps(io: ZIO[R, E, A])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. def acquireReleaseWithAuto[R1 <: R, E1 >: E, B](use: (A) ⇒ ZIO[R1, E1, B]): ZIO[R1, E1, B]

    Permalink

    Like acquireReleaseWith, safely wraps a use and release of a resource.

    Like acquireReleaseWith, safely wraps a use and release of a resource. This resource will get automatically closed, because it implements AutoCloseable.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  7. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  8. def toManagedAuto: ZManaged[R, E, A]

    Permalink

    Converts this ZIO value to a ZManaged value.

    Converts this ZIO value to a ZManaged value. See ZManaged.fromAutoCloseable.

  9. def toString(): String

    Permalink
    Definition Classes
    Any

Deprecated Value Members

  1. def bracketAuto[R1 <: R, E1 >: E, B](use: (A) ⇒ ZIO[R1, E1, B]): ZIO[R1, E1, B]

    Permalink

    Like bracket, safely wraps a use and release of a resource.

    Like bracket, safely wraps a use and release of a resource. This resource will get automatically closed, because it implements AutoCloseable.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use acquireReleaseWithAuto

Inherited from AnyVal

Inherited from Any

Ungrouped