Skip to content

Commit

Permalink
feat(takeWhile): add an inclusive option to the operator which caus…
Browse files Browse the repository at this point in the history
…es to emit final value

By default, the value that causes the predicate to return `false` is not emitted.

This change adds an `inclusive` option which changes the behavior of the operator to include the final value which made the predicate return `false`.
Typical use case: Polling an API until the response contains a certain value, and then doing something with the response.
  • Loading branch information
idosela committed Sep 27, 2018
1 parent 6a2b524 commit c183085
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 15,320 deletions.
Loading

0 comments on commit c183085

Please sign in to comment.