ResourceSignature

turbolift.effects.ResourceSignature
trait ResourceSignature[U] extends Signature

Signature of ResourceEffect.

Type parameters

U

Type-level set of effects used to acquire/release the resources.

Attributes

Graph
Supertypes
trait Signature
class Object
trait Matchable
class Any
Known subtypes
trait ResourceEffect[U]
object ResourceIO

Members list

Type members

Inherited and Abstract types

type ThisEffect

Self-reference to the effect being described by this Signature.

Self-reference to the effect being described by this Signature.

Becomes an alias of this.type, once the signature is inherited from Effect.

Attributes

Inherited from:
Signature

Value members

Abstract methods

def register(release: Computation[Unit, U]): Computation[Unit, ThisEffect]
def use[A](acquire: Computation[A, U], release: A => Computation[Unit, U]): Computation[A, ThisEffect]