TrySplitResource

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

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
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