ResourceEffect

turbolift.effects.ResourceEffect
See theResourceEffect companion trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Extensions

Extensions

extension [U](thiz: ResourceEffect[U])
def handler: Handler[Identity, Identity, thiz.type, U]

Alias of the default handler for this effect.

Alias of the default handler for this effect.

Defined as an extension, to allow custom redefinitions without restrictions imposed by overriding

Attributes

extension [U <: IO](thiz: ResourceEffect[U])
def register[A <: Closeable](a: A): Computation[Unit, thiz.type]
def use[A <: Closeable](acquire: => A): Computation[A, thiz.type]