Chun-Hung Hsiao created MESOS-7970:
--------------------------------------

             Summary: Adding process::Executor::execute()
                 Key: MESOS-7970
                 URL: https://issues.apache.org/jira/browse/MESOS-7970
             Project: Mesos
          Issue Type: Improvement
          Components: libprocess
            Reporter: Chun-Hung Hsiao
            Assignee: Chun-Hung Hsiao
             Fix For: 1.4.1


It would be easier to use {{process::Executor}} if we can add an {{execute()}} 
interface that runs a function asynchronously and returns a {{Future}}, so we 
do the following:
{noformat}
process::Executor executor;
executor.execute(f, a0 a1)
  .then(executor.defer(g));
{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to