Introduce a facet immediately under the root facet for user code to run in, to allow something akin to replacement of the root facet

relay-external-protocol
Tony Garnock-Jones 2 years ago
parent cd951e18a0
commit a252cfdfdf

@ -1095,8 +1095,7 @@ impl Actor {
tokio::spawn(async move {
tracing::trace!("start");
self.run(|t| {
boot(t)?;
t.stop_if_inert();
t.facet(boot)?;
Ok(())
}).await;
let result = self.ac_ref.exit_status().expect("terminated");

Loading…
Cancel
Save