Skip to content

Conversation

@michaelficarra
Copy link
Member

@michaelficarra michaelficarra commented May 13, 2025

This is one of four possible behaviours.

  1. yield no values (empty iterator): current behaviour
  2. throw on .next(): this PR
  3. yield a single undersized window: yield an undersized window when windows cannot yield at least 1 full one #15
  4. pad with undefined: pad an undersized first window with undefined #16

Closes #13.

Co-authored-by: Kevin Gibbons <[email protected]>
Co-authored-by: Kevin Gibbons <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

behavior of .windows when window size exceeds iterator length

3 participants