Uses of Class
com.github.tonivade.purefun.effect.URIO
Packages that use URIO
Package
Description
-
Uses of URIO in com.github.tonivade.purefun.effect
Fields in com.github.tonivade.purefun.effect declared as URIOMethods in com.github.tonivade.purefun.effect that return URIOModifier and TypeMethodDescriptionstatic <R,A> URIO <R, A> static <R,A> URIO <R, A> static <R,A> URIO <R, A> static <R,A extends AutoCloseable, B>
URIO<R, B> URIO.bracket(Kind<URIO<R, ?>, ? extends A> acquire, Function1<? super A, ? extends Kind<URIO<R, ?>, ? extends B>> use) static <R,A, B> URIO <R, B> URIO.bracket(Kind<URIO<R, ?>, ? extends A> acquire, Function1<? super A, ? extends Kind<URIO<R, ?>, ? extends B>> use, Consumer1<? super A> release) static <R,A, B> URIO <R, B> URIO.bracket(Kind<URIO<R, ?>, ? extends A> acquire, Function1<? super A, ? extends Kind<URIO<R, ?>, ? extends B>> use, Function1<? super A, ? extends Kind<URIO<R, ?>, Unit>> release) static <R,A> URIO <R, A> static <R,A> URIO <R, A> static <R> URIO<R, R> URIO.env()URIO.exec(CheckedRunnable task) private static <R,A> URIO <R, A> URIO.fork()static <R,T> URIO <R, T> URIO.fromEither(Either<Throwable, ? extends T> task) static <R,T> URIO <R, T> URIO.fromOption(Option<? extends T> task) static <R,T> URIO <R, T> static <R,A> URIO <R, A> URIO.never()static <R,A, B, C>
URIO<R, C> URIO.parMap2(Kind<URIO<R, ?>, ? extends A> za, Kind<URIO<R, ?>, ? extends B> zb, Function2<? super A, ? super B, ? extends C> mapper) static <R,A, B, C>
URIO<R, C> URIO.parMap2(Executor executor, Kind<URIO<R, ?>, ? extends A> za, Kind<URIO<R, ?>, ? extends B> zb, Function2<? super A, ? super B, ? extends C> mapper) static <R,A> URIO <R, A> URIO.pure(A value) static <R,A> URIO <R, A> URIO.raiseError(Throwable throwable) RIO.recoverWith(Class<X> type, Function1<? super X, ? extends A> function) URIO.recoverWith(Class<X> type, Function1<? super X, ? extends A> function) URIO.redeem(Function1<? super Throwable, ? extends B> mapError, Function1<? super A, ? extends B> map) URIO.redeemWith(Function1<? super Throwable, ? extends Kind<URIO<R, ?>, ? extends B>> mapError, Function1<? super A, ? extends Kind<URIO<R, ?>, ? extends B>> map) URIO.repeat()URIO.repeat(int times) private static <R,A> URIO <R, A> URIO.retry()URIO.retry(int maxRetries) private static <R,A> URIO <R, A> static <R,A> URIO <R, A> URIO.timed()PureIO.toURIO()RIO.toURIO()UIO.toURIO()static <R,A> URIO <R, A> URIO.unit()Methods in com.github.tonivade.purefun.effect that return types with arguments of type URIOModifier and TypeMethodDescriptionURIO.fork()URIO.liftEither(Function1<? super A, ? extends Either<Throwable, ? extends B>> function) URIO.liftOption(Function1<? super A, ? extends Option<? extends B>> function) Methods in com.github.tonivade.purefun.effect with parameters of type URIOModifier and TypeMethodDescriptionprivate static <R,A> URIO <R, A> private static <R,A> URIO <R, A> Method parameters in com.github.tonivade.purefun.effect with type arguments of type URIOModifier and TypeMethodDescriptionstatic <R,A> URIO <R, A> static <R,A extends AutoCloseable, B>
URIO<R, B> URIO.bracket(Kind<URIO<R, ?>, ? extends A> acquire, Function1<? super A, ? extends Kind<URIO<R, ?>, ? extends B>> use) static <R,A extends AutoCloseable, B>
URIO<R, B> URIO.bracket(Kind<URIO<R, ?>, ? extends A> acquire, Function1<? super A, ? extends Kind<URIO<R, ?>, ? extends B>> use) static <R,A, B> URIO <R, B> URIO.bracket(Kind<URIO<R, ?>, ? extends A> acquire, Function1<? super A, ? extends Kind<URIO<R, ?>, ? extends B>> use, Consumer1<? super A> release) static <R,A, B> URIO <R, B> URIO.bracket(Kind<URIO<R, ?>, ? extends A> acquire, Function1<? super A, ? extends Kind<URIO<R, ?>, ? extends B>> use, Consumer1<? super A> release) static <R,A, B> URIO <R, B> URIO.bracket(Kind<URIO<R, ?>, ? extends A> acquire, Function1<? super A, ? extends Kind<URIO<R, ?>, ? extends B>> use, Function1<? super A, ? extends Kind<URIO<R, ?>, Unit>> release) static <R,A, B> URIO <R, B> URIO.bracket(Kind<URIO<R, ?>, ? extends A> acquire, Function1<? super A, ? extends Kind<URIO<R, ?>, ? extends B>> use, Function1<? super A, ? extends Kind<URIO<R, ?>, Unit>> release) static <R,A> URIO <R, A> static <R,A> URIO <R, A> static <R,A, B, C>
URIO<R, C> URIO.parMap2(Kind<URIO<R, ?>, ? extends A> za, Kind<URIO<R, ?>, ? extends B> zb, Function2<? super A, ? super B, ? extends C> mapper) static <R,A, B, C>
URIO<R, C> URIO.parMap2(Executor executor, Kind<URIO<R, ?>, ? extends A> za, Kind<URIO<R, ?>, ? extends B> zb, Function2<? super A, ? super B, ? extends C> mapper) URIO.redeemWith(Function1<? super Throwable, ? extends Kind<URIO<R, ?>, ? extends B>> mapError, Function1<? super A, ? extends Kind<URIO<R, ?>, ? extends B>> map) static <R,A> URIO <R, A> -
Uses of URIO in com.github.tonivade.purefun.effect.util
Methods in com.github.tonivade.purefun.effect.util that return URIOModifier and TypeMethodDescriptionstatic <R extends PureClock>
URIO<R, OffsetDateTime> PureClock.currentDateTime()PureClock.Service.currentDateTime()PureClock.currentTime()PureClock.Service.currentTime()static <R extends PureRandom>
URIO<R, Character> PureRandom.nextChar()PureRandom.Service.nextChar()static <R extends PureRandom>
URIO<R, Double> PureRandom.nextDouble()PureRandom.Service.nextDouble()static <R extends PureRandom>
URIO<R, Float> PureRandom.nextFloat()PureRandom.Service.nextFloat()static <R extends PureRandom>
URIO<R, Integer> PureRandom.nextInt()PureRandom.Service.nextInt()static <R extends PureRandom>
URIO<R, Long> PureRandom.nextLong()PureRandom.Service.nextLong()static <R extends PureRandom>
URIO<R, String> PureRandom.nextString(int length) PureRandom.Service.nextString(int length) -
Uses of URIO in com.github.tonivade.purefun.instances
Methods in com.github.tonivade.purefun.instances that return URIOModifier and TypeMethodDescriptionURIOApplicative.ap(Kind<URIO<R, ?>, ? extends A> value, Kind<URIO<R, ?>, ? extends Function1<? super A, ? extends B>> apply) URIOBracket.bracket(Kind<URIO<R, ?>, ? extends A> acquire, Function1<? super A, ? extends Kind<URIO<R, ?>, ? extends B>> use, Function1<? super A, ? extends Kind<URIO<R, ?>, Unit>> release) URIOMonad.flatMap(Kind<URIO<R, ?>, ? extends A> value, Function1<? super A, ? extends Kind<URIO<R, ?>, ? extends B>> map) URIOMonadError.handleErrorWith(Kind<URIO<R, ?>, A> value, Function1<? super Throwable, ? extends Kind<URIO<R, ?>, ? extends A>> handler) URIOPure.pure(A value) URIOMonadError.raiseError(Throwable error) URIOConsole.readln()Methods in com.github.tonivade.purefun.instances that return types with arguments of type URIOModifier and TypeMethodDescriptionstatic <R> Applicative<URIO<R, ?>> URIOInstances.applicative()URIOInstances.async()static <R> Concurrent<URIO<R, ?>> URIOInstances.concurrent()static <R> Concurrent<URIO<R, ?>> URIOInstances.concurrent(Executor executor) URIOInstances.console()URIOInstances.functor()URIOInstances.monad()static <R> MonadDefer<URIO<R, ?>> URIOInstances.monadDefer()static <R> MonadThrow<URIO<R, ?>> URIOInstances.monadThrow()static <R> PureStream.Of<URIO<R, ?>> PureStreamInstances.ofURIO()URIOInstances.runtime(R env) Method parameters in com.github.tonivade.purefun.instances with type arguments of type URIOModifier and TypeMethodDescriptionURIOApplicative.ap(Kind<URIO<R, ?>, ? extends A> value, Kind<URIO<R, ?>, ? extends Function1<? super A, ? extends B>> apply) URIOBracket.bracket(Kind<URIO<R, ?>, ? extends A> acquire, Function1<? super A, ? extends Kind<URIO<R, ?>, ? extends B>> use, Function1<? super A, ? extends Kind<URIO<R, ?>, Unit>> release) URIOBracket.bracket(Kind<URIO<R, ?>, ? extends A> acquire, Function1<? super A, ? extends Kind<URIO<R, ?>, ? extends B>> use, Function1<? super A, ? extends Kind<URIO<R, ?>, Unit>> release) URIOMonad.flatMap(Kind<URIO<R, ?>, ? extends A> value, Function1<? super A, ? extends Kind<URIO<R, ?>, ? extends B>> map) URIOMonad.flatMap(Kind<URIO<R, ?>, ? extends A> value, Function1<? super A, ? extends Kind<URIO<R, ?>, ? extends B>> map) URIOMonadError.handleErrorWith(Kind<URIO<R, ?>, A> value, Function1<? super Throwable, ? extends Kind<URIO<R, ?>, ? extends A>> handler) URIOMonadError.handleErrorWith(Kind<URIO<R, ?>, A> value, Function1<? super Throwable, ? extends Kind<URIO<R, ?>, ? extends A>> handler) default <T> Future<T> default <T> Sequence<T> default <T> T -
Uses of URIO in com.github.tonivade.purefun.runtimes
Methods in com.github.tonivade.purefun.runtimes with parameters of type URIO