lib/poet/methods.js
function unwatch (poet) {
  poet.watchers.forEach(function (watcher) {
    watcher.watcher.close();
  });
  poet.futures.forEach(function (future) {
    clearTimeout(future);
  });
  poet.watchers = [];
  poet.futures = [];
  return poet;
}
function unwatch (poet) {
  poet.watchers.forEach(function (watcher) {
    watcher.watcher.close();
  });
  poet.futures.forEach(function (future) {
    clearTimeout(future);
  });
  poet.watchers = [];
  poet.futures = [];
  return poet;
}
function unwatch ( poet ) { poet . watchers . forEach ( function ( watcher ) { watcher . watcher . close ( ) ; } ) ; poet . futures . forEach ( function ( future ) { clearTimeout ( future ) ; } ) ; poet . watchers = [ ] ; poet . futures = [ ] ; return poet ; }
Removes all watchers from the `poet` instance so previously registered
callbacks are not called again
Removes all watchers from the poet instance so previously registered callbacks are not called again