Reactor.run_n() returns #events delivered
This commit is contained in:
parent
daa09aff86
commit
9adfbb822d
3 changed files with 9 additions and 8 deletions
|
|
@ -54,7 +54,7 @@ namespace xo {
|
|||
* otherwise dispatch up to n events.
|
||||
* n = 0 is a noop
|
||||
*/
|
||||
void run_n(int32_t n);
|
||||
std::uint64_t run_n(int32_t n);
|
||||
|
||||
/* borrow calling thread to run indefinitely.
|
||||
* suitable implementation for dedicated reactor threads
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue