From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 26 Oct 2019 00:17:24 +0200 Subject: API documentation for KVision 2.0.0 --- .../-process/index.html | 266 +++++++++++++++++++++ 1 file changed, 266 insertions(+) create mode 100644 api1/pl.treksoft.kvision.electron.nodejs/-process/index.html (limited to 'api1/pl.treksoft.kvision.electron.nodejs/-process/index.html') diff --git a/api1/pl.treksoft.kvision.electron.nodejs/-process/index.html b/api1/pl.treksoft.kvision.electron.nodejs/-process/index.html new file mode 100644 index 00000000..f18d71c5 --- /dev/null +++ b/api1/pl.treksoft.kvision.electron.nodejs/-process/index.html @@ -0,0 +1,266 @@ + + + +Process - kvision + + + +kvision / pl.treksoft.kvision.electron.nodejs / Process
+
+

Process

+external interface Process : EventEmitter +

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

defaultApp

+
+open var defaultApp: Boolean?
+

mas

+
+open var mas: Boolean?
+

noAsar

+
+open var noAsar: Boolean?
+

noDeprecation

+
+open var noDeprecation: Boolean?
+

resourcesPath

+
+open var resourcesPath: String?
+

sandboxed

+
+open var sandboxed: Boolean?
+

throwDeprecation

+
+open var throwDeprecation: Boolean?
+

traceDeprecation

+
+open var traceDeprecation: Boolean?
+

traceProcessWarnings

+
+open var traceProcessWarnings: Boolean?
+

type

+
+open var type: String?
+

versions

+
+open var versions: ProcessVersions?
+

windowsStore

+
+open var windowsStore: Boolean?
+

Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

addListener

+
+abstract fun addListener(event: String, listener: Function<*>): Process
+

crash

+
+abstract fun crash(): Unit
+

getCPUUsage

+
+abstract fun getCPUUsage(): CPUUsage
+

getIOCounters

+
+abstract fun getIOCounters(): IOCounters
+

getProcessMemoryInfo

+
+abstract fun getProcessMemoryInfo(): ProcessMemoryInfo
+

getSystemMemoryInfo

+
+abstract fun getSystemMemoryInfo(): SystemMemoryInfo
+

hang

+
+abstract fun hang(): Unit
+

on

+
+abstract fun on(event: String, listener: Function<*>): Process
+

once

+
+abstract fun once(event: String, listener: Function<*>): Process
+

removeListener

+
+abstract fun removeListener(event: String, listener: Function<*>): Process
+

setFdLimit

+
+abstract fun setFdLimit(maxDescriptors: Number): Unit
+

Inherited Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

emit

+
+open fun emit(event: String, vararg args: Any): Boolean
+

eventNames

+
+open fun eventNames(): Array<String>
+

getMaxListeners

+
+open fun getMaxListeners(): Number
+

listenerCount

+
+open fun listenerCount(type: String): Number
+

listeners

+
+open fun listeners(event: String): Array<Function<*>>
+

prependListener

+
+open fun prependListener(event: String, listener: Function<*>): EventEmitter
+

prependOnceListener

+
+open fun prependOnceListener(event: String, listener: Function<*>): EventEmitter
+

removeAllListeners

+
+open fun removeAllListeners(event: String? = definedExternally): EventEmitter
+

setMaxListeners

+
+open fun setMaxListeners(n: Number): EventEmitter
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + -- cgit