Package io.activej.async.function
Class AsyncFunctions
java.lang.Object
io.activej.async.function.AsyncFunctions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T,R> AsyncFunction<T, R> buffer(int maxParallelCalls, int maxBufferedCalls, AsyncFunction<T, R> function) static <T,R> AsyncFunction<T, R> buffer(AsyncFunction<T, R> actual) static <T,R> AsyncFunction<T, R> ofExecutor(AsyncExecutor executor, AsyncFunction<T, R> function)
-
Constructor Details
-
AsyncFunctions
public AsyncFunctions()
-
-
Method Details
-
buffer
-
buffer
@Contract(pure=true) public static <T,R> AsyncFunction<T,R> buffer(int maxParallelCalls, int maxBufferedCalls, AsyncFunction<T, R> function) -
ofExecutor
@Contract(pure=true) public static <T,R> AsyncFunction<T,R> ofExecutor(AsyncExecutor executor, AsyncFunction<T, R> function)
-