Uses of Interface
com.github.tonivade.purefun.core.Consumer1
Packages that use Consumer1
Package
Description
-
Uses of Consumer1 in com.github.tonivade.purefun.concurrent
Fields in com.github.tonivade.purefun.concurrent with type parameters of type Consumer1Methods in com.github.tonivade.purefun.concurrent with parameters of type Consumer1Modifier and TypeMethodDescriptionstatic <T> Future<T> static <T> Future<T> (package private) static <T> Future<T> static <T,R> Future <R> Future.bracket(Future<? extends T> acquire, Function1<? super T, ? extends Future<? extends R>> use, Consumer1<? super T> release) static <T,R> Future <R> Future.bracket(Executor executor, Future<? extends T> acquire, Function1<? super T, ? extends Future<? extends R>> use, Consumer1<? super T> release) (package private) static <T,R> Future <R> FutureImpl.bracket(Executor executor, Future<? extends T> acquire, Function1<? super T, ? extends Future<? extends R>> use, Consumer1<? super T> release) Future.onComplete(Consumer1<? super Try<? extends T>> callback) FutureImpl.onComplete(Consumer1<? super Try<? extends T>> consumer) Promise.onComplete(Consumer1<? super Try<? extends T>> consumer) PromiseImpl.onComplete(Consumer1<? super Try<? extends T>> consumer) private voidMethod parameters in com.github.tonivade.purefun.concurrent with type arguments of type Consumer1 -
Uses of Consumer1 in com.github.tonivade.purefun.core
Methods in com.github.tonivade.purefun.core that return Consumer1Modifier and TypeMethodDescriptionstatic <A> Consumer1<A> Consumer1.noop()static <A> Consumer1<A> Methods in com.github.tonivade.purefun.core with parameters of type Consumer1 -
Uses of Consumer1 in com.github.tonivade.purefun.effect
Fields in com.github.tonivade.purefun.effect with type parameters of type Consumer1Methods in com.github.tonivade.purefun.effect that return Consumer1Modifier and TypeMethodDescriptionManaged.release()private static <X,T, R> Consumer1 <X> Managed.releaseAndThen(Tuple2<T, Consumer1<? super T>> outter, Tuple2<R, Consumer1<? super R>> inner) Methods in com.github.tonivade.purefun.effect that return types with arguments of type Consumer1Methods in com.github.tonivade.purefun.effect with parameters of type Consumer1Modifier and TypeMethodDescriptionstatic <E,A> EIO <E, A> static <A> Task<A> static <A> UIO<A> static <E,A, B> EIO <E, B> EIO.bracket(Kind<EIO<E, ?>, ? extends A> acquire, Function1<? super A, ? extends Kind<EIO<E, ?>, ? extends B>> use, Consumer1<? super A> release) static <R,E, A, B>
PureIO<R, E, B> PureIO.bracket(Kind<PureIO<R, E, ?>, ? extends A> acquire, Function1<? super A, ? extends Kind<PureIO<R, E, ?>, ? extends B>> use, Consumer1<? super A> release) static <R,A, B> RIO <R, B> RIO.bracket(Kind<RIO<R, ?>, ? extends A> acquire, Function1<? super A, ? extends Kind<RIO<R, ?>, ? extends B>> use, Consumer1<? super A> release) static <A,B> Task <B> Task.bracket(Kind<Task<?>, ? extends A> acquire, Function1<? super A, ? extends Kind<Task<?>, ? 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 <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,E, A> Managed <R, E, A> static <R,E, A> Managed <R, E, A> static <R,E, A> Managed <R, E, A> Managed.fromM(Function1<? super R, ? extends PureIO<R, E, ? extends A>> mapper, Consumer1<? super A> release) default voiddefault voidPureIO.provideAsync(R env, Executor executor, Consumer1<? super Try<? extends Either<E, A>>> callback) voidvoidRIO.safeRunAsync(R env, Consumer1<? super Try<? extends A>> callback) voidTask.safeRunAsync(Consumer1<? super Try<? extends A>> callback) voidUIO.safeRunAsync(Consumer1<? super Try<? extends A>> callback) voidUIO.safeRunAsync(Executor executor, Consumer1<? super Try<? extends A>> callback) voidURIO.safeRunAsync(R env, Consumer1<? super Try<? extends A>> callback) Method parameters in com.github.tonivade.purefun.effect with type arguments of type Consumer1Modifier and TypeMethodDescriptionstatic <E,A> EIO <E, A> static <R,E, A> PureIO <R, E, A> static <R,A> RIO <R, A> static <A> Task<A> static <A> UIO<A> static <R,A> URIO <R, A> static <A> Task<A> static <E,A> EIO <E, A> EIO.cancellable(Function1<Consumer1<? super Try<? extends Either<E, ? extends A>>>, EIO<E, Unit>> consumer) static <R,E, A> PureIO <R, E, A> PureIO.cancellable(Function2<R, Consumer1<? super Try<? extends Either<E, ? extends A>>>, PureIO<R, ?, Unit>> consumer) static <R,A> RIO <R, A> static <A> UIO<A> static <R,A> URIO <R, A> private static <X,T, R> Consumer1 <X> Managed.releaseAndThen(Tuple2<T, Consumer1<? super T>> outter, Tuple2<R, Consumer1<? super R>> inner) Constructor parameters in com.github.tonivade.purefun.effect with type arguments of type Consumer1 -
Uses of Consumer1 in com.github.tonivade.purefun.instances
Methods in com.github.tonivade.purefun.instances with parameters of type Consumer1Modifier and TypeMethodDescriptionMethod parameters in com.github.tonivade.purefun.instances with type arguments of type Consumer1Modifier and TypeMethodDescriptionEIOAsync.asyncF(Function1<Consumer1<? super Try<? extends A>>, Kind<EIO<Throwable, ?>, Unit>> consumer) default <A> IO<A> PureIOAsync.asyncF(Function1<Consumer1<? super Try<? extends A>>, Kind<PureIO<R, Throwable, ?>, Unit>> consumer) default <A> Task<A> default <A> UIO<A> -
Uses of Consumer1 in com.github.tonivade.purefun.monad
Fields in com.github.tonivade.purefun.monad with type parameters of type Consumer1Methods in com.github.tonivade.purefun.monad with parameters of type Consumer1Modifier and TypeMethodDescriptionstatic <T> IO<T> static <T,R> IO <R> IO.bracket(Kind<IO<?>, ? extends T> acquire, Function1<? super T, ? extends Kind<IO<?>, ? extends R>> use, Consumer1<? super T> release) default voidIO.safeRunAsync(Consumer1<? super Try<? extends T>> callback) default voidIO.safeRunAsync(Executor executor, Consumer1<? super Try<? extends T>> callback) Method parameters in com.github.tonivade.purefun.monad with type arguments of type Consumer1Constructor parameters in com.github.tonivade.purefun.monad with type arguments of type Consumer1 -
Uses of Consumer1 in com.github.tonivade.purefun.type
Methods in com.github.tonivade.purefun.type with parameters of type Consumer1 -
Uses of Consumer1 in com.github.tonivade.purefun.typeclasses
Fields in com.github.tonivade.purefun.typeclasses with type parameters of type Consumer1Methods in com.github.tonivade.purefun.typeclasses that return Consumer1Methods in com.github.tonivade.purefun.typeclasses that return types with arguments of type Consumer1Methods in com.github.tonivade.purefun.typeclasses with parameters of type Consumer1Modifier and TypeMethodDescriptionBracket.bracket(Kind<F, ? extends A> acquire, Function1<? super A, ? extends Kind<F, ? extends B>> use, Consumer1<? super A> release) voidvoiddefault voidResource.from(MonadDefer<F> monad, Kind<F, ? extends T> acquire, Consumer1<? super T> release) Method parameters in com.github.tonivade.purefun.typeclasses with type arguments of type Consumer1Modifier and TypeMethodDescriptionprivate static <T,R> void Resource.releaseAndThen(Tuple2<T, Consumer1<? super T>> outter, Tuple2<R, Consumer1<? super R>> inner) Constructor parameters in com.github.tonivade.purefun.typeclasses with type arguments of type Consumer1