node_interop.node library

Node.js globals bindings.

Classes

Buffer
BufferConstants
BufferModule
CPUUsage
Date
Immediate
JsAssertionError
JsError
JavaScript Error object.
JsRangeError
JsReferenceError
JsSyntaxError
JsSystemError
JsTypeError
NodeJsError
Process
Promise
Release
Timeout

Properties

buffer BufferModule
read-only
console Console
read-only
exports → dynamic
Reference to the main module's exports object. [...]
read-only
module Module
Reference to the main module's Module object. [...]
read-only
process Process
read-only
undefined → dynamic
@JS(), read-only

Functions

clearImmediate(Immediate immediate) → void
@JS()
clearInterval(Timeout timeout) → void
@JS()
clearTimeout(Timeout timeout) → void
@JS()
objectKeys(dynamic object) → List<String>
Returns a list of keys in a JavaScript object. [...]
@JS('Object.keys')
require(String id) → dynamic
Loads module with specified id. [...]
setExport(String key, Object value) → void
Registers property with key and value in the module exports object.
setImmediate(Function callback, [ dynamic arg1, dynamic arg2, dynamic arg3, dynamic arg4, dynamic arg5, dynamic arg6, dynamic arg7, dynamic arg8, dynamic arg9 ]) Immediate
@JS()
setInterval(Function callback, num delay, [ dynamic arg1, dynamic arg2, dynamic arg3, dynamic arg4, dynamic arg5, dynamic arg6, dynamic arg7, dynamic arg8, dynamic arg9 ]) Timeout
@JS()
setTimeout(Function callback, num delay, [ dynamic arg1, dynamic arg2, dynamic arg3, dynamic arg4, dynamic arg5, dynamic arg6, dynamic arg7, dynamic arg8, dynamic arg9 ]) Timeout
@JS()