Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High level interface with (custom) futures #8

Open
daniele77 opened this issue Oct 17, 2017 · 0 comments
Open

High level interface with (custom) futures #8

daniele77 opened this issue Oct 17, 2017 · 0 comments
Assignees

Comments

@daniele77
Copy link
Owner

I'd like to write a sequence of aricpp operation in this way:

ch1->Hangup()
.Then([=](){ return bridge->Destroy(); })
.Then([=](){ return ch2->Hold(); })
.Then([=](){ cout << "ch2 in hold\n"; })
.OnError([](exception const& e) {cerr << e.what() << endl; });
@daniele77 daniele77 self-assigned this Oct 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant