File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/com/jnape/palatable/lambda/io Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -312,10 +312,10 @@ public CompletableFuture<A> unsafePerformAsyncIO(Executor executor) {
312
312
@ SuppressWarnings ("unchecked" )
313
313
CompletableFuture <A > future = (CompletableFuture <A >) deforest (new LinkedList <>())
314
314
.into ((source , compositions ) -> foldLeft (
315
- (io , composition ) -> composition
315
+ (ioFuture , composition ) -> composition
316
316
.match (zip -> zip .unsafePerformAsyncIO (executor )
317
- .thenCompose (f -> io .thenApply (f .toFunction ())),
318
- flatMap -> io .thenComposeAsync (obj -> flatMap .apply (obj )
317
+ .thenComposeAsync (f -> ioFuture .thenApply (f .toFunction ()), executor ),
318
+ flatMap -> ioFuture .thenComposeAsync (obj -> flatMap .apply (obj )
319
319
.unsafePerformAsyncIO (executor ), executor )),
320
320
source .unsafePerformAsyncIO (executor ),
321
321
compositions ));
You can’t perform that action at this time.
0 commit comments