pub trait ActorExecutor: Send + Sync {
// Required methods
fn actor_id(&self) -> &str;
fn logical_name(&self) -> &str;
fn auto_spawn(&self) -> bool;
fn required_spawn_with(&self) -> Vec<&str>;
fn run(
&self,
scope: Scope,
tx: Sender<MessageEnvelope>,
rx: Receiver<MessageEnvelope>,
context: Arc<WasmindContext>,
engine: Engine,
) -> Pin<Box<dyn Future<Output = ()> + Send>>;
}