so I have an array that will change over time in size and would like to convert to a hot stream.
tried with no luck:
const array = [10, 20, 30];
const result = from(array, asyncScheduler);
result.subscribe(x => {
console.log(x);
});
setTimeout(() => {
array.push('waiting for me');
}, 6000);
as 'waiting for me' never gets consoled after 6 sec.
tried also share() with no avail
thanks