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

Expose RunLoop #8

Open
ben-crowhurst opened this issue Nov 10, 2016 · 1 comment
Open

Expose RunLoop #8

ben-crowhurst opened this issue Nov 10, 2016 · 1 comment
Labels

Comments

@ben-crowhurst
Copy link
Member

auto service = make_shared< restbed::Service >( );
auto session = make_shared< Session >( service->get_runloop( ) );
session->get_runloop( );
@ben-crowhurst
Copy link
Member Author

ben-crowhurst commented Nov 18, 2016

It would be nice to perform the following:

Session::wait( ); //wait for dispatch queue == 0, complete.
Session::wait( callback ); //wait for dispatch queue == 0, call complete handler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant