You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Weston Pace (Jira)" <ji...@apache.org> on 2021/03/17 21:04:00 UTC

[jira] [Created] (ARROW-12009) [C++] Then(const Result&) should run on failure or success

Weston Pace created ARROW-12009:
-----------------------------------

             Summary: [C++] Then(const Result<T>&) should run on failure or success
                 Key: ARROW-12009
                 URL: https://issues.apache.org/jira/browse/ARROW-12009
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
            Reporter: Weston Pace
            Assignee: Weston Pace


Adding two callbacks can lead to dense difficult to read code.  If the caller asks for a result then it should be easy to let the callback handle both the failure and the success case.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)