function getPriority
Jump to headinggetPriority(pid?: number): numberReturns the scheduling priority for the process specified by pid. If pid is
not provided or is 0, the priority of the current process is returned.
Parameters Jump to heading
optional
Jump to headingpid: number = 0The process ID to retrieve scheduling priority for.
Return Type Jump to heading
number