I have array of milliseconds: [3 * 1000, 30 * 1000, 10 * 1000].
When the millisecond event is ready then I log into the console:
milliseconds.forEach(m => {
timer(m).subscribe(r => { console.log('notification!!'); });
});
Is there a way to make one subscribe for get the events in the right time?