heph
heph copied to clipboard
Use ActorFuture in runtime
Use ActorFuture
in rt::process
, possibly removing rt::process
completely.
Do the same for spawn_sync_actor
from https://github.com/Thomasdezeeuw/heph/pull/541.
Could use the recently stabilised thread::JoinHandle::is_finished
for the control of the sync actor.
Similar issue for the sync actor utilities: https://github.com/Thomasdezeeuw/heph/issues/571.
This is hard to do at the moment because we require a setup function for a number of actors. If we can change/remove move we can revisit this.