How to use the _shutdown function from bindings

Find comprehensive JavaScript bindings._shutdown code examples handpicked from public code repositorys.

103
104
105
106
107
108
109
110
111
}

shutdown(how) {
  this.verify(level, 'number', 'shutdown', 'argument 1 should be number');

  const result = bindings._shutdown(this[_ID], how);
  if(result < 0){
    this.dealError('shutdown');
  }
fork icon2
star icon2
watch icon2

+ 6 other calls in file

Other functions in bindings

Sorted by popularity

function icon

bindings.createKey is the most popular function in bindings (8616 examples)