In short, trying to split a really large array into pieces of 10 and wait 5 seconds before emitting the next 10.
That's what i currently
Rx.Observable
.from(hugeArray)
.bufferCount(10)
.delay(5000)
.flatMap(e => e)
.flatMap( (data, index) => Rx.Observable.create(observer => {
observer.onNext(data)
observer.onCompleted();
}))
.subscribe(val => console.log('Buffered Values:', val));
Just trying to make 10 pieces in 5 seconds, she was only able to make the initial delay, and then chose the rest.
user240993
source
share