1
0
forked from Onek8/LNXSDK
This commit is contained in:
Dante
2026-05-21 23:40:20 -07:00
parent 3e2915dff7
commit 877a69d844
5737 changed files with 29796 additions and 1589684 deletions

View File

@ -38,7 +38,7 @@ import js.Error;
/**
Enumeration of events emitted by the Process class.
**/
@:enum abstract ProcessEvent<T:haxe.Constraints.Function>(Event<T>) to Event<T> {
enum abstract ProcessEvent<T:haxe.Constraints.Function>(Event<T>) to Event<T> {
/**
Emitted when the process is about to exit.
There is no way to prevent the exiting of the event loop at this point,
@ -262,6 +262,21 @@ extern class Process extends EventEmitter<Process> {
**/
var platform:String;
/**
The PID of the parent process
**/
var ppid:Int;
/**
The metadata of the current release
**/
var release:Release;
/**
Used for diagnostic reports
**/
var report:Report;
/**
Returns an object describing the memory usage of the Node process measured in bytes.
**/
@ -349,3 +364,11 @@ typedef MemoryUsage = {
heapTotal:Float,
heapUsed:Float
}
typedef Release = {
name:String,
?sourceUrl:String,
?headersUrl:String,
?libUrl:String,
?lts:String
}