Rx.Observable.prototype.takeLastBuffer(count)

takeLastBuffer

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

参数

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

返回值

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