25 maj 2016 kl. 09:05 skrev Martin Karlgren marty@roxen.com:
Future f = do_async_stuff(); f->flat_map (lambda (string result) { return do_more_async_stuff_returning_a_future(result); })->on_success (lambda (string final_result) { }); f->map (lambda (string result) { return reverse (result); })->on_success (lambda (string final_result) { });
Sorry, that's not too clear – the third line has nothing to do with the second line. It's a separate example.
/Marty