I tried a lot to call another helper method from a helper method using setinterval
handleAsynchronousLoad:function(component, activityFilter, dateFilter, selectedTalentGroupFilter,currentLoad){
window.setInterval(
$A.getCallback(function() {
var a = '0000';
console.log('in async');
helper.check(a);
}), 5000
);
},
check : function(b){
console.log('hey');
}
The check method is not being called. This both methods are in helper.
In each 5 seconds 'in async is printing'
Please let me know what am i doing wrong.