Interface NodeProcess

                                          *
              INTERFACES                  *
                                          *

Hierarchy

Index

Properties

Methods

Properties

public arch: string

public argv: Array<string>

public config: { target_defaults: { cflags: any[]; default_configuration: string; defines: string[]; include_dirs: string[]; libraries: string[]; }; variables: { clang: number; host_arch: string; node_install_npm: boolean; node_install_waf: boolean; node_prefix: string; node_shared_openssl: boolean; node_shared_v8: boolean; node_shared_zlib: boolean; node_use_dtrace: boolean; node_use_etw: boolean; node_use_openssl: boolean; target_arch: string; v8_no_strict_aliasing: number; v8_use_snapshot: boolean; visibility: string; }; }

public config.target_defaults: { cflags: any[]; default_configuration: string; defines: string[]; include_dirs: string[]; libraries: string[]; }

public config.variables: { clang: number; host_arch: string; node_install_npm: boolean; node_install_waf: boolean; node_prefix: string; node_shared_openssl: boolean; node_shared_v8: boolean; node_shared_zlib: boolean; node_use_dtrace: boolean; node_use_etw: boolean; node_use_openssl: boolean; target_arch: string; v8_no_strict_aliasing: number; v8_use_snapshot: boolean; visibility: string; }

public target_defaults.cflags: Array<any>

public target_defaults.default_configuration: string

public target_defaults.defines: Array<string>

public target_defaults.include_dirs: Array<string>

public target_defaults.libraries: Array<string>

public variables.clang: number

public variables.host_arch: string

public variables.node_install_npm: boolean

public variables.node_install_waf: boolean

public variables.node_prefix: string

public variables.node_shared_openssl: boolean

public variables.node_shared_v8: boolean

public variables.node_shared_zlib: boolean

public variables.node_use_dtrace: boolean

public variables.node_use_etw: boolean

public variables.node_use_openssl: boolean

public variables.target_arch: string

public variables.v8_no_strict_aliasing: number

public variables.v8_use_snapshot: boolean

public variables.visibility: string

public env: any

public execPath: string

public pid: number

public platform: string

public stderr: WritableStream

public stdin: ReadableStream

public stdout: WritableStream

public title: string

public version: string

public versions: { http_parser: string; node: string; v8: string; ares: string; uv: string; zlib: string; openssl: string; }

public versions.ares: string

public versions.http_parser: string

public versions.node: string

public versions.openssl: string

public versions.uv: string

public versions.v8: string

public versions.zlib: string

Methods

public abort()

public addListener(event: string, listener: Function): any

Parameters

  • event: string
  • listener: Function

Returns

any

public chdir(directory: string)

Parameters

  • directory: string

public cwd()

public emit(event: string, arg1?: any, arg2?: any)

Parameters

  • event: string
  • arg1?: any optional
  • arg2?: any optional

public exit(code?: number)

Parameters

  • code?: number optional

public getgid(): number

Returns

number

public getuid(): number

Returns

number

public hrtime(): Array<number>

Returns

Array<number>

public kill(pid: number, signal?: string)

Parameters

  • pid: number
  • signal?: string optional

public listeners(event: string): Array<{ Function: any; }>

Parameters

  • event: string

Returns

Array<{ Function: any; }>

public memoryUsage(): { rss: number; heapTotal: any; number: any; heapUsed: number; }

Returns

{ rss: number; heapTotal: any; number: any; heapUsed: number; }

public nextTick(callback: Function)

Parameters

  • callback: Function

public on(event: string, listener: Function): any

Parameters

  • event: string
  • listener: Function

Returns

any

public once(event: string, listener: Function)

Parameters

  • event: string
  • listener: Function

public removeAllListener(event: string)

Parameters

  • event: string

public removeListener(event: string, listener: Function)

Parameters

  • event: string
  • listener: Function

public setMaxListeners(n: number)

Parameters

  • n: number

public setgid(id: number)

Parameters

  • id: number

public setuid(id: number)

Parameters

  • id: number

public umask(mask?: number): number

Parameters

  • mask?: number optional

Returns

number

public uptime(): number

Returns

number