[jira] [Created] (FLINK-4751) Extend Flink's futures to support combining two futures

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-4751) Extend Flink's futures to support combining two futures

Shang Yuanchun (Jira)
Till Rohrmann created FLINK-4751:
------------------------------------

             Summary: Extend Flink's futures to support combining two futures
                 Key: FLINK-4751
                 URL: https://issues.apache.org/jira/browse/FLINK-4751
             Project: Flink
          Issue Type: Improvement
    Affects Versions: 1.2.0
            Reporter: Till Rohrmann
            Assignee: Till Rohrmann
            Priority: Minor
             Fix For: 1.2.0


A useful feature for Flink's futures would be to allow combining two futures:

{code}
Future<A> a = ...
Future<B> b = ...

Future<C> c = a.thenCombineAsync(b, new BiFunction<A, B, C>() {...}, executor);
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)