lib/dispatcher.js
function onActivity(e) {
      if (!_shouldActivityUpdate(e)) return;
      if (_shouldRestart()) return dispatch(context.actions.start());
      /** THIS WILL BE ROUTED TO FAST OR LOCAL STATE IF ENABLED */
      setState(_constants.IDLEMONITOR_ACTIVITY, { lastActive: +new Date(), lastEvent: { x: e.pageX, y: e.pageY } });
    }
function onActivity(e) {
      if (!_shouldActivityUpdate(e)) return;
      if (_shouldRestart()) return dispatch(context.actions.start());
      /** THIS WILL BE ROUTED TO FAST OR LOCAL STATE IF ENABLED */
      setState(_constants.IDLEMONITOR_ACTIVITY, { lastActive: +new Date(), lastEvent: { x: e.pageX, y: e.pageY } });
    }
function onActivity ( e ) { if ( ! _shouldActivityUpdate ( e ) ) return ; if ( _shouldRestart ( ) ) return dispatch ( context . actions . start ( ) ) ; /** THIS WILL BE ROUTED TO FAST OR LOCAL STATE IF ENABLED */ setState ( _constants . IDLEMONITOR_ACTIVITY , { lastActive : + new Date ( ) , lastEvent : { x : e . pageX , y : e . pageY } } ) ; }
One of the event listeners triggered an activity occurrence event. This gets spammed
One of the event listeners triggered an activity occurrence event . This gets spammed