Anya - Add batch monitoring

check if there is some js-native function that does this