python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Java8 - CompletableFuture - Running methods in async call sequentially
So I have this code block:
someMethod(SomeParameter someParameter) {
for (SomeObject: object) {
if (someObject is true) {
callSomeMethod(someParameter);
} else {
callSomeMethodI...
Jet Waitforit Torres
Votes: 0
Answers: 1
How to edit method after sent request
I want to get four values from a website but need to edit parameter every step. I thought I can do it with executors but I couldn't. So, how can I edit parameter in every CompletableFuture before send...
hirtevurte
Votes: 0
Answers: 2
Long polling with kotlin coroutines
I found this repository at GitHub Long Polling Redis
So in spring boot, we can use a deferred request to hold the client request for several seconds (AppMsgController.java#L72)
and it will send back t...
David Async
Votes: 0
Answers: 2
What is the CompletableFuture equivalent of Streams peek()?
An answer here quotes a table of all CompletableFuture methods, but it's not quite what I'm looking for, or perhaps I'm going about it wrong.
I'm looking for the CompletableFuture equivalent of Stream...
Benny Bottema
Votes: 0
Answers: 2