Akka.Net Streams -


how replay web service request every ten seconds ten times until answer ? i've tried recoverwithretries , initialdelay, first recovery replays web service call :

fromthirdofcontract().recoverwithretries(e =>             {                 return source.fromtask(_third.getthird(message.contractidlegacy)).initialdelay(timespan.fromseconds(secondsbetween));             }, retry); 

the first retry happens instead of ten seconds later.. in akka there's restartsource class, don't have in akka.net idea?

i played source.lazily() source. it's working, it's not evaluated before initial delay call. i'm listening other ideas


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -