INNER CODE UNIT · JavaScript
value
CloudI/CloudI · src/api/javascript/CloudI.js:86
value = -2147483648 + (value & 0x7fffffff);
}
return value;
};
if (Erlang.nodejs_version_after('10.0.0',true)) {
var originalEmitWarning = process.emitWarning;
process.emitWarning = function(warning, type, code, ctor) {
if (code === 'DEP0097') {
// Ignore the stderr output of the runtime deprecation:
// "Using a domain property in MakeCallback is deprecated.
// Use the async_context variant of MakeCallback or the
// AsyncResource class instead."
//
// Until the exception handling of the domain module is
// provided by a different module (like async_hooks) or
// exceptions (throw/try/catch) are removed from JavaScript,
// the use of the domain module needs to remain
// (to remain consistent with other CloudI API implementations).