restless icon indicating copy to clipboard operation
restless copied to clipboard

Expose RunLoop

Open ben-crowhurst opened this issue 8 years ago • 1 comments

auto service = make_shared< restbed::Service >( );
auto session = make_shared< Session >( service->get_runloop( ) );
session->get_runloop( );

ben-crowhurst avatar Nov 10 '16 04:11 ben-crowhurst

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.

ben-crowhurst avatar Nov 18 '16 00:11 ben-crowhurst