Commit 35737c85 authored by Dominik Charousset's avatar Dominik Charousset

Add convenience function to I/O dsl

parent 276d4e2c
......@@ -46,6 +46,15 @@ public:
// nop
}
// Convenience function for transmitting all "network" traffic and running
// all executables on this node.
void exec_all() {
while (mpx.try_exec_runnable() || mpx.read_data()
|| this->sched.run_once()) {
// rince and repeat
}
}
void publish(caf::actor whom, uint16_t port) {
auto ma = mm.actor_handle();
auto& sys = this->sys;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment