TrySplitResource
libretto.scaletto.impl.Fun.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 Leaf[Res[R] |*| Val[A], Val[E] |+| (Res[S] |*| Res[T] |*| Val[B])]
Attributes
- Graph
-
- Supertypes
Members list
In this article