UNPKG

curator

Version:

A flexible process monitoring and management framework.

12 lines (11 loc) 323 B
(function() { var poller, setInterval; setInterval = require('curator/lib/modules/setInterval'); poller = require('curator/lib/system/poller'); module.exports = function(watch) { if (watch == null) { watch = this; } return setInterval(watch, poller.poll, watch.checkInterval); }; }).call(this);