Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Not at all. Here is the equivalent pseudo code:

Function1Async() .flatMap(a -> a, Function2Async(a)) .map( (a, b) -> nonAsync(a, b)) .flatMap(c -> AnotherThingAsync(c)) .error(e -> catch) .complete( finally );

The real code would be a little more complicated but not much.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: