unit_testing/test_spawn.cpp
void testee1(event_based_actor* self) {
    BOOST_ACTOR_LOGF_TRACE("");
    self->become(after(chrono::milliseconds(10)) >> [=] {
        BOOST_ACTOR_LOGF_TRACE("");
        self->unbecome();
    });
}
// self->receives one timeout and quits
self->receives one timeout and quits
self - > receives one timeout and quits
void testee1(event_based_actor* self) {
    BOOST_ACTOR_LOGF_TRACE("");
    self->become(after(chrono::milliseconds(10)) >> [=] {
        BOOST_ACTOR_LOGF_TRACE("");
        self->unbecome();
    });
}
void testee1 ( event_based_actor * self ) { BOOST_ACTOR_LOGF_TRACE ( " " ) ; self -> become ( after ( chrono :: milliseconds ( 10 ) ) >> [ = ] { BOOST_ACTOR_LOGF_TRACE ( " " ) ; self -> unbecome ( ) ; } ) ; }
self->receives one timeout and quits
self - > receives one timeout and quits