src/lib/JsonFileDB.js
function close() {
    if (file !== false && options.listen) {
      fs.unwatch(file, listener);
    }

    return Promise.resolve();
  }
function close() {
    if (file !== false && options.listen) {
      fs.unwatch(file, listener);
    }

    return Promise.resolve();
  }
function close ( ) { if ( file !== false && options . listen ) { fs . unwatch ( file , listener ) ; } return Promise . resolve ( ) ; }
Cleans up after the CRUD instance. Should be called just before the
instance is deleted

@returns {Promise} A Promise that resolves when the instance is closed
Cleans up after the CRUD instance . Should be called just before the instance is deleted