Package-level declarations

Types

Link copied to clipboard
sealed external interface Architecture
Link copied to clipboard
typealias BeforeExitListener = (code: Number) -> Unit
Link copied to clipboard
sealed external interface BuiltInModule
Link copied to clipboard
sealed external interface CpuUsage
Link copied to clipboard
typealias DisconnectListener = () -> Unit
Link copied to clipboard
sealed external interface EmitWarningOptions
Link copied to clipboard
typealias ExitListener = (code: Number) -> Unit
Link copied to clipboard
sealed external interface HRTime
Link copied to clipboard
sealed external interface MemoryUsage
Link copied to clipboard
sealed external interface MemoryUsageFn
Link copied to clipboard
typealias MessageListener = (message: Any?, sendHandle: Any?) -> Unit
Link copied to clipboard
typealias MultipleResolveListener = (type: MultipleResolveType, promise: Promise<Any?>, value: Any?) -> Unit
Link copied to clipboard
sealed external interface MultipleResolveType
Link copied to clipboard
sealed external interface Platform
Link copied to clipboard
sealed external interface Process : EventEmitter
Link copied to clipboard
sealed external interface ProcessChannel
Link copied to clipboard
sealed external interface ProcessConfig
Link copied to clipboard
sealed external interface ProcessConfigTarget_defaults
Link copied to clipboard
sealed external interface ProcessConfigVariables
Link copied to clipboard
sealed external interface ProcessEnv : Record<String, String>
Link copied to clipboard
sealed external interface ProcessFeatures
Link copied to clipboard
sealed external interface ProcessFinalization
Link copied to clipboard
sealed external interface ProcessPermission
Link copied to clipboard
sealed external interface ProcessRelease
Link copied to clipboard
sealed external interface ProcessReport
Link copied to clipboard
sealed external interface ProcessSendOptions
Link copied to clipboard
sealed external interface ProcessStderr : WriteStream
Link copied to clipboard
sealed external interface ProcessStdin : ReadStream
Link copied to clipboard
sealed external interface ProcessStdout : WriteStream
Link copied to clipboard
sealed external interface ProcessVersions : Record<String, String>
Link copied to clipboard
sealed external interface ReadStream : ReadStream
Link copied to clipboard
typealias RejectionHandledListener = (promise: Promise<Any?>) -> Unit
Link copied to clipboard
sealed external interface ResourceUsage
Link copied to clipboard
sealed external interface Signals
Link copied to clipboard
typealias SignalsListener = (signal: Signals) -> Unit
Link copied to clipboard
sealed external interface Socket : ReadWriteStream
Link copied to clipboard
Link copied to clipboard
sealed external interface UncaughtExceptionOrigin
Link copied to clipboard
typealias UnhandledRejectionListener = (reason: Any?, promise: Promise<Any?>) -> Unit

Most of the time the unhandledRejection will be an Error, but this should not be relied upon as anything can be thrown/rejected, it is therefore unsafe to assume that the value is an Error.

Link copied to clipboard
typealias WarningListener = (warning: JsError) -> Unit
Link copied to clipboard
typealias WorkerListener = (worker: Worker) -> Unit
Link copied to clipboard
sealed external interface WriteStream : WriteStream

Properties

Link copied to clipboard
external val process: Process