-
Notifications
You must be signed in to change notification settings - Fork 231
Recipes
David Chase edited this page Nov 15, 2016
·
10 revisions
These recipes show how to use existing operations to build new ones, how to solve problems in interesting ways, and are also helpful in learning how to "think in streams".
- Repeat - Repeat the behavior of a stream N times
-
Pairwise - Create a stream of pairs
[previous value, current value]
- Race - Pick the stream with the earliest first event
- Event delegation - Use Element.matches for container-level event handling
- Unfold promises - Build a stream functionally using promises
- Ignore Errors - Yolo