Skip to content

Instantly share code, notes, and snippets.

@oberstet
Created March 25, 2014 23:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oberstet/9773483 to your computer and use it in GitHub Desktop.
Save oberstet/9773483 to your computer and use it in GitHub Desktop.
auto f = session.call("com.mathservice.add2", {7, 33});
f.then([](decltype(f) res) {
cerr << "Result: " << any_cast<uint64_t>(res.get()) << endl;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment