Transfer ownership of an actor thread from one jss::actor
instance to another.
actor& operator=(actor&& other);
&other
!= this
Releases ownership of any actor thread associated with *this
prior to the call, and waits that thread to complete. Transfers
ownership of the actor thread associated with other
prior to the call, if any, to *this
.
Nothing.
this->valid()
returns true
if other.valid()
was true
before the
call, false
otherwise.
other.valid()
returns false.
#include <jss/actor.hpp>