TryTransformResource

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

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait ConcurrentPair[Res[R], Val[A]] -⚬ Val[E] |+| ConcurrentPair[Res[S], 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