Commit 9b27ae6d authored by Dominik Charousset's avatar Dominik Charousset

Fix monitor example in manual

parent 1506469a
......@@ -42,7 +42,7 @@ actor worker = ...;
self->monitor(worker);
// wait until worker exited
self->become (
on(const down_msg& d) >> [] {
[](const down_msg& d) {
if (d.reason == exit_reason::normal) {
// worker finished computation
} else {
......
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