[][src]Function heim_process::pids

pub async fn pids() -> Result<impl Stream<Item = Result<Pid>>>

Returns a stream over the Pids of the processes currently running in the system.

Consequent calls are not guaranteed to return pids in the same order.