pub async fn spawn_proc<A, S, F>(
proc_id: ProcId,
backend_addr: ChannelAddr,
callback_addr: ChannelAddr,
spawn: S,
) -> Result<Proc, HostError>
Expand description
Spawn a proc at proc_id
with an A
-typed agent actor,
forwarding messages to the provided backend_addr
,
and returning the proc’s address and agent actor on
the provided callback_addr
.