pub fn process_birth_identity(
pid: i64,
) -> Result<Option<String>, ProcessIdentityError>Expand description
What:
The birth identity of the process pid names now,
or nothing when none runs.
i64 holds any PID a record can carry.
Why:
This is the one question every liveness check asks.
In TS you’d write (pseudocode):
function resolveProcessBirthIdentity(pid: number): Promise<string | typeof PROCESS_IDENTITY_ABSENT>;