0no-co / wonka

🎩 A tiny but capable push & pull stream library for TypeScript and Flow
MIT License
709 stars 29 forks source link

Fix sample operator pulling for cold sources #53

Closed kitten closed 4 years ago

kitten commented 4 years ago

The sample operator needs to be modified to respect cold source pulling and pull only when it runs out of values. Additionally it needs to pull from the notifier when new values come in from the source or when the notifier is activated, see #51 for a similar fix.

Lastly this also fixes the strict ending edge cases