bkietz opened a new pull request #8680:
URL: https://github.com/apache/arrow/pull/8680


   Adds `Future<T>::Then(OnSuccess, OnFailure)` which registers callbacks to be 
executed on completion of the future and yields a future which wraps the result 
of those callbacks; if a callback returns:
   
   - `void`, Then() returns a `Future<>` which completes successully as soon as 
the callback runs.
   - `Status`, Then() returns a `Future<>` which completes with the returned 
`Status` as soon as the callback runs.
   - `V` or `Result<V>`, Then() returns a `Future<V>` which completes with 
whatever the callback returns.
   - `Future<V>`, Then() returns a `Future<V>` which will be marked complete 
when the future returned by the callback completes (and will complete with the 
same result).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to