Skip to main content

descendants_of

Function descendants_of 

Source
pub fn descendants_of(root: i32) -> Vec<TreeMember>
Expand description

What: Every living process below root, children before grandchildren, with their start times. Why: Read once, before the root is signalled, from one pass over /proc.

In TS you’d write (pseudocode):

async function descendantsOf(root: number): Promise<TreeMember[]>;