Hi. 

I have a case where I would like to collect object from a completeablefuture 
future in a flat map function. 
I run into some problem where I get an exception regarding a buffer pool that 
don’t exists when I collect the objets after some times.  I can see if I for 
testing don’t return from the function (creating a fori loop with a thread 
sleep or wait for the future) it works. 
Can anyone explain what going on behind the screen and if possible any hints 
for a working solution. 

Thanks in advance 

Med venlig hilsen / Best regards
Lasse Nedergaard

Reply via email to