pub fn spawn_actor<B2, M, E, F>(
actor_id: AgentId,
env: E,
policy: M,
experience_tx: Sender<Experience>,
device: B2::Device,
seed: u64,
throttle: ActorThrottle,
act_fn: F,
) -> ActorHandleExpand description
Spawn one actor thread and return its ActorHandle.
Creates the per-actor broadcast and control channels internally; the
caller supplies a clone of the shared actors→learner experience
sender. See actor_thread for the loop semantics and the
act_fn contract.