Rx.Observable.prototype.bufferWithCount(count, [skip])
Projects each element of an observable sequence into zero or more buffers which are produced based on element count information.
Arguments
count
(Function
): Length of each buffer.[skip]
(Function
): Number of elements to skip between creation of consecutive buffers. If not provided, defaults to the count.
Returns
(Observable
): An observable sequence of buffers.