Skip to main content

Module proc_spawner

Module proc_spawner 

Source
Expand description

Remote proc spawning protocol.

ProcSpawnerEndpoint is the proc-level counterpart to crate::ActorSpawnerEndpoint. A proc-spawner endpoint accepts SpawnProc, starts a new proc, creates a proc-local SpawnActor endpoint, and links that actor-spawn endpoint back to the caller through the same remote supervision machinery used for remote actor spawns.

Modules§

unix
Unix process backed proc spawning.

Structs§

SpawnProc
The generated behavior struct.

Traits§

ProcSpawnerEndpoint
Convenience methods for endpoints that accept SpawnProc requests.

Functions§

actor_spawner_uid
The singleton uid of a proc’s actor-spawn endpoint. The spawner attests the endpoint ref at this uid, and the child proc spawns its ActorSpawner under it, so the two agree without a round trip.