I'm trying to automatically execute a service every few seconds, I found some code in the forums but it doesn't appear to work with the Ionic 4 app builder.
var $interval = Apperyio.get("$interval");
$scope.myInterval = $interval(function() {
// put your JS code here
}, 100);
How do I access the $interval function with Ionic 4?
Thank you!