Rx.Observable.prototype.takeLastBuffer(count)

Returns an array with the specified number of contiguous elements from the end of an observable sequence.

Arguments

  1. count (Number): Number of elements to bypass at the end of the source sequence.

Returns

(Observable): An observable sequence containing a single array with the specified number of elements from the end of the source sequence.

Example