Object

com.thoughtworks.zerocost.resourcet

ResourceT

Related Doc: package resourcet

Permalink

object ResourceT

The companion object of ResourceT that contains converters and type classes.

Source
resourcet.scala
Note

There are some implicit method that provides cats.Monads as monad transformers of F. Those monads running will collect all resources, which will be open and release altogether when ResourceTOps.run is called.

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

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply[F[+_], A](run: F[Resource[F, A]]): ResourceT[F, A]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def autoCloseable[F[+_], A <: AutoCloseable](run: F[A])(implicit arg0: Functor[F], arg1: LiftIO[F]): ResourceT[F, A]

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def delay[F[+_], A](a: ⇒ A)(implicit arg0: Applicative[F], arg1: LiftIO[F]): ResourceT[F, A]

    Permalink
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def garbageCollected[F[+_], A](fa: F[A])(implicit arg0: Functor[F], arg1: LiftIO[F]): ResourceT[F, A]

    Permalink
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def liftIO[F[+_], A](io: IO[A])(implicit arg0: LiftIO[F]): ResourceT[F, A]

    Permalink
  17. def monadicCloseable[F[+_], A <: MonadicCloseable[F]](run: F[A])(implicit arg0: Functor[F]): ResourceT[F, A]

    Permalink
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def nested[F[+_], A](fa: ResourceT[F, A])(implicit arg0: Monad[F], arg1: LiftIO[F]): ResourceT[F, A]

    Permalink
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def pure[F[+_], A](a: A)(implicit arg0: Applicative[F]): ResourceT[F, A]

    Permalink
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. def unapply[F[+_], A](resourceT: ResourceT[F, A]): Some[F[Resource[F, A]]]

    Permalink
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped