Uses of Class
com.github.tonivade.purefun.effect.UIO
Packages that use UIO
Package
Description
-
Uses of UIO in com.github.tonivade.purefun.effect
Fields in com.github.tonivade.purefun.effect declared as UIOMethods in com.github.tonivade.purefun.effect that return UIOModifier and TypeMethodDescription<B> UIO<B> <B> UIO<B> static <A> UIO<A> static <A extends AutoCloseable,B>
UIO<B> UIO.bracket(Kind<UIO<?>, ? extends A> acquire, Function1<? super A, ? extends Kind<UIO<?>, ? extends B>> use) static <A,B> UIO <B> UIO.bracket(Kind<UIO<?>, ? extends A> acquire, Function1<? super A, ? extends Kind<UIO<?>, ? extends B>> use, Consumer1<? super A> release) static <A,B> UIO <B> UIO.bracket(Kind<UIO<?>, ? extends A> acquire, Function1<? super A, ? extends Kind<UIO<?>, ? extends B>> use, Function1<? super A, ? extends Kind<UIO<?>, Unit>> release) static <A> UIO<A> static <A> UIO<A> UIO.exec(CheckedRunnable task) <B> UIO<B> <B> UIO<B> <B> UIO<B> private static <A> UIO<A> UIO.fork()static <T> UIO<T> UIO.fromEither(Either<Throwable, ? extends T> task) static <T> UIO<T> UIO.fromOption(Option<? extends T> task) static <T> UIO<T> UIO.fromPromise(Promise<? extends T> promise) static <T> UIO<T> Ref.get()Ref.getAndUpdate(Operator1<A> update) Ref.make(A value) <B> UIO<B> <B> UIO<B> static <A> UIO<A> UIO.never()static <A,B, C> UIO <C> UIO.parMap2(Kind<UIO<?>, ? extends A> za, Kind<UIO<?>, ? extends B> zb, Function2<? super A, ? super B, ? extends C> mapper) static <A,B, C> UIO <C> UIO.parMap2(Executor executor, Kind<UIO<?>, ? extends A> za, Kind<UIO<?>, ? extends B> zb, Function2<? super A, ? super B, ? extends C> mapper) static <A> UIO<A> UIO.pure(A value) static <A> UIO<A> UIO.raiseError(Throwable throwable) Task.recoverWith(Class<X> type, Function1<? super X, ? extends A> function) UIO.recoverWith(Class<X> type, Function1<? super X, ? extends A> function) <B> UIO<B> <B> UIO<B> UIO.redeemWith(Function1<? super Throwable, ? extends Kind<UIO<?>, ? extends B>> mapError, Function1<? super A, ? extends Kind<UIO<?>, ? extends B>> map) UIO.repeat()UIO.repeat(int times) private static <T> UIO<T> UIO.retry()UIO.retry(int maxRetries) private static <T> UIO<T> static <A> UIO<A> UIO.timed()EIO.toUIO()Task.toUIO()static <A> UIO<A> UIO.unit()Ref.updateAndGet(Operator1<A> update) <B> UIO<B> <B,C> UIO <C> Methods in com.github.tonivade.purefun.effect that return types with arguments of type UIOModifier and TypeMethodDescriptionUIO.fork()UIO.liftEither(Function1<? super A, ? extends Either<Throwable, ? extends B>> function) UIO.liftOption(Function1<? super A, ? extends Option<? extends B>> function) Methods in com.github.tonivade.purefun.effect with parameters of type UIOMethod parameters in com.github.tonivade.purefun.effect with type arguments of type UIOModifier and TypeMethodDescription<B> UIO<B> <B> UIO<B> static <A extends AutoCloseable,B>
UIO<B> UIO.bracket(Kind<UIO<?>, ? extends A> acquire, Function1<? super A, ? extends Kind<UIO<?>, ? extends B>> use) static <A extends AutoCloseable,B>
UIO<B> UIO.bracket(Kind<UIO<?>, ? extends A> acquire, Function1<? super A, ? extends Kind<UIO<?>, ? extends B>> use) static <A,B> UIO <B> UIO.bracket(Kind<UIO<?>, ? extends A> acquire, Function1<? super A, ? extends Kind<UIO<?>, ? extends B>> use, Consumer1<? super A> release) static <A,B> UIO <B> UIO.bracket(Kind<UIO<?>, ? extends A> acquire, Function1<? super A, ? extends Kind<UIO<?>, ? extends B>> use, Consumer1<? super A> release) static <A,B> UIO <B> UIO.bracket(Kind<UIO<?>, ? extends A> acquire, Function1<? super A, ? extends Kind<UIO<?>, ? extends B>> use, Function1<? super A, ? extends Kind<UIO<?>, Unit>> release) static <A,B> UIO <B> UIO.bracket(Kind<UIO<?>, ? extends A> acquire, Function1<? super A, ? extends Kind<UIO<?>, ? extends B>> use, Function1<? super A, ? extends Kind<UIO<?>, Unit>> release) static <A> UIO<A> static <A> UIO<A> <B> UIO<B> static <A,B, C> UIO <C> UIO.parMap2(Kind<UIO<?>, ? extends A> za, Kind<UIO<?>, ? extends B> zb, Function2<? super A, ? super B, ? extends C> mapper) static <A,B, C> UIO <C> UIO.parMap2(Executor executor, Kind<UIO<?>, ? extends A> za, Kind<UIO<?>, ? extends B> zb, Function2<? super A, ? super B, ? extends C> mapper) <B> UIO<B> UIO.redeemWith(Function1<? super Throwable, ? extends Kind<UIO<?>, ? extends B>> mapError, Function1<? super A, ? extends Kind<UIO<?>, ? extends B>> map) static <A> UIO<A> <B> UIO<B> <B,C> UIO <C> -
Uses of UIO in com.github.tonivade.purefun.instances
Methods in com.github.tonivade.purefun.instances that return UIOModifier and TypeMethodDescriptiondefault <A,B> UIO <B> UIOApplicative.ap(Kind<UIO<?>, ? extends A> value, Kind<UIO<?>, ? extends Function1<? super A, ? extends B>> apply) default <A> UIO<A> default <A,B> UIO <B> UIOBracket.bracket(Kind<UIO<?>, ? extends A> acquire, Function1<? super A, ? extends Kind<UIO<?>, ? extends B>> use, Function1<? super A, ? extends Kind<UIO<?>, Unit>> release) default <A> UIO<A> default <A,B> UIO <B> UIOMonad.flatMap(Kind<UIO<?>, ? extends A> value, Function1<? super A, ? extends Kind<UIO<?>, ? extends B>> map) default <A> UIO<A> UIOMonadError.handleErrorWith(Kind<UIO<?>, A> value, Function1<? super Throwable, ? extends Kind<UIO<?>, ? extends A>> handler) default <A,B> UIO <B> default <A> UIO<A> UIOPure.pure(A value) default <A> UIO<A> UIOMonadError.raiseError(Throwable error) UIOConsole.readln()Methods in com.github.tonivade.purefun.instances that return types with arguments of type UIOModifier and TypeMethodDescriptionstatic Applicative<UIO<?>> UIOInstances.applicative()UIOInstances.async()static Concurrent<UIO<?>> UIOInstances.concurrent()static Concurrent<UIO<?>> UIOInstances.concurrent(Executor executor) UIOInstances.console()UIOInstances.functor()UIOInstances.monad()static MonadDefer<UIO<?>> UIOInstances.monadDefer()static MonadError<UIO<?>, Throwable> UIOInstances.monadError()static MonadThrow<UIO<?>> UIOInstances.monadThrow()static PureStream.Of<UIO<?>> PureStreamInstances.ofUIO()UIOInstances.runtime()Method parameters in com.github.tonivade.purefun.instances with type arguments of type UIOModifier and TypeMethodDescriptiondefault <A,B> UIO <B> UIOApplicative.ap(Kind<UIO<?>, ? extends A> value, Kind<UIO<?>, ? extends Function1<? super A, ? extends B>> apply) default <A> UIO<A> default <A,B> UIO <B> UIOBracket.bracket(Kind<UIO<?>, ? extends A> acquire, Function1<? super A, ? extends Kind<UIO<?>, ? extends B>> use, Function1<? super A, ? extends Kind<UIO<?>, Unit>> release) default <A,B> UIO <B> UIOBracket.bracket(Kind<UIO<?>, ? extends A> acquire, Function1<? super A, ? extends Kind<UIO<?>, ? extends B>> use, Function1<? super A, ? extends Kind<UIO<?>, Unit>> release) default <A> UIO<A> default <A,B> UIO <B> UIOMonad.flatMap(Kind<UIO<?>, ? extends A> value, Function1<? super A, ? extends Kind<UIO<?>, ? extends B>> map) default <A,B> UIO <B> UIOMonad.flatMap(Kind<UIO<?>, ? extends A> value, Function1<? super A, ? extends Kind<UIO<?>, ? extends B>> map) default <A> UIO<A> UIOMonadError.handleErrorWith(Kind<UIO<?>, A> value, Function1<? super Throwable, ? extends Kind<UIO<?>, ? extends A>> handler) default <A> UIO<A> UIOMonadError.handleErrorWith(Kind<UIO<?>, A> value, Function1<? super Throwable, ? extends Kind<UIO<?>, ? extends A>> handler) default <A,B> UIO <B> default <T> Future<T> default <T> Sequence<T> default <T> T -
Uses of UIO in com.github.tonivade.purefun.runtimes
Methods in com.github.tonivade.purefun.runtimes with parameters of type UIO