artdaq_node_server  v1_00_09
 All Classes Namespaces Files Variables Pages
/scratch/workspace/artdaq_demo-release-build/SLF7/s47-e10-prof/build/artdaq_node_server/v1_00_09/src/node_modules/xml2js/node_modules/xmlbuilder/node_modules/lodash/debounce.js

// Avoid costly calculations while the window size is in flux. jQuery(window).on('resize', _.debounce(calculateLayout, 150));

// Invoke sendMail when clicked, debouncing subsequent calls. jQuery(element).on('click', _.debounce(sendMail, 300, { 'leading': true, 'trailing': false }));

// Ensure batchLog is invoked once after 1 second of debounced calls. var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 }); var source = new EventSource('/stream'); jQuery(source).on('message', debounced);

// Cancel the trailing debounced invocation. jQuery(window).on('popstate', debounced.cancel);