doc(examples): add missing examples in ro_example_test.go#124
Conversation
📝 PR Review SummaryThis PR adds comprehensive examples for combining operators and includes some important bug fixes. Overall, it's a valuable contribution that improves the library's documentation and fixes existing issues. ✅ Positive Changes
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #124 +/- ##
==========================================
+ Coverage 62.28% 69.17% +6.88%
==========================================
Files 76 76
Lines 9485 9485
==========================================
+ Hits 5908 6561 +653
+ Misses 3492 2839 -653
Partials 85 85
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
d95e6f6 to
cf240cf
Compare
Pull Request ReviewSummaryThis PR adds extensive example functions to ro_example_test.go demonstrating usage of the reactive observable library. The examples cover creation, combination, filtering, transformation, error handling, and subject types. ✅ Strengths
|
Additional Issue FoundIncorrect Example Output In ExampleNewUnicastSubject_overflow (around line 5094):
This discrepancy suggests the example output does not match the actual behavior. The UnicastSubject with buffer size 2 should emit the last 2 values (456, 789) when a subscriber subscribes after completion. Please verify and correct this example to ensure accuracy of the documentation. |
No description provided.