TryAcquire

libretto.scaletto.impl.FreeScaletto.-⚬.TryAcquire
case class TryAcquire[A, R, B, E](acquire: ScalaFunction[A, Either[E, (R, B)]], release: Option[ScalaFunction[R, Unit]]) extends Val[A] -⚬ Val[E] |+| ConcurrentPair[Res[R], Val[B]]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Val[A] -⚬ Val[E] |+| ConcurrentPair[Res[R], Val[B]]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product