- All Superinterfaces:
Applicative<URIO<R,?>>, ApplicativeError<URIO<R,?>,Throwable>, Async<URIO<R,?>>, Bracket<URIO<R,?>,Throwable>, Concurrent<URIO<R,?>>, Defer<URIO<R,?>>, Functor<URIO<R,?>>, Invariant<URIO<R,?>>, Monad<URIO<R,?>>, MonadDefer<URIO<R,?>>, MonadError<URIO<R,?>,Throwable>, MonadThrow<URIO<R,?>>, Selective<URIO<R,?>>, Timer<URIO<R,?>>, URIOAsync<R>, URIOBracket<R>, URIODefer<R>, URIOMonad<R>, URIOMonadDefer<R>, URIOMonadError<R>, URIOPure<R>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.github.tonivade.purefun.typeclasses.Applicative
Applicative.Map2<F extends Kind<F,?>,A,B>, Applicative.Map3<F extends Kind<F,?>,A,B,C>, Applicative.Map4<F extends Kind<F,?>,A,B,C,D>, Applicative.Map5<F extends Kind<F,?>,A,B,C,D,E>
-
Field Summary
Fields inherited from interface com.github.tonivade.purefun.instances.URIOAsync
INSTANCE
-
Method Summary
Methods inherited from interface com.github.tonivade.purefun.typeclasses.Applicative
first, last, mapN, mapN, mapN, mapN, mapN, mapN, mapN, mapN, tuple, tuple, tuple, tuple
Methods inherited from interface com.github.tonivade.purefun.typeclasses.Async
async
Methods inherited from interface com.github.tonivade.purefun.typeclasses.Functor
imap, lift
Methods inherited from interface com.github.tonivade.purefun.typeclasses.MonadThrow
fromTry
Methods inherited from interface com.github.tonivade.purefun.instances.URIOAsync
asyncF
Methods inherited from interface com.github.tonivade.purefun.instances.URIOBracket
bracket
Methods inherited from interface com.github.tonivade.purefun.instances.URIODefer
defer
Methods inherited from interface com.github.tonivade.purefun.instances.URIOMonad
flatMap
Methods inherited from interface com.github.tonivade.purefun.instances.URIOPure
pure
-
Method Details
-
-
-
racePair
default <A,
B>
URIO<R,Either<Tuple2<A,Fiber<URIO<R,?>,B>>,Tuple2<Fiber<URIO<R,?>,A>,B>>> racePair(Kind<URIO<R,?>,? extends A> fa,
Kind<URIO<R,?>,? extends B> fb)
- Specified by:
racePair in interface Concurrent<R>
-