Skip to content

Latest commit

 

History

History
30 lines (16 loc) · 854 Bytes

File metadata and controls

30 lines (16 loc) · 854 Bytes

{% if book.isPdf %}

bufferWithCount

{% else %}

{% endif %}

Projects each element of an observable sequence into zero or more buffers which are produced based on element count information.

Arguments

  1. count (Function): Length of each buffer.
  2. [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.

Example

Without a skip

Using a skip