8000 Add examples to operators by Yshayy · Pull Request #7 · Yshayy/hi-stream · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add examples to operators #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 12, 2025
Merged

Add examples to operators #7

merged 2 commits into from
Apr 12, 2025

Conversation

Yshayy
Copy link
Owner
@Yshayy Yshayy commented Apr 12, 2025

Add TSDoc examples for various operators in the src/operators directory.

  • map.ts: Add an example demonstrating the usage of the map operator.
  • filter.ts: Add an example demonstrating the usage of the filter operator.
  • flatMap.ts: Add an example demonstrating the usage of the flatMap operator.
  • scan.ts: Add an example demonstrating the usage of the scan operator.
  • skip.ts: Add an example demonstrating the usage of the skip operator.
  • skipUntil.ts: Add an example demonstrating the usage of the skipUntil operator.
  • skipWhile.ts: Add an example demonstrating the usage of the skipWhile operator.
  • take.ts: Add an example demonstrating the usage of the take operator.
  • takeUntil.ts: Add an example demonstrating the usage of the takeUntil operator.
  • takeWhile.ts: Add an example demonstrating the usage of the takeWhile operator.
  • zip.ts: Add an example demonstrating the usage of the zip operator.
  • pairwise.ts: Add an example demonstrating the usage of the pairwise operator.

For more details, open the Copilot Workspace session.

Yshayy added 2 commits April 12, 2025 12:13
Add TSDoc examples for various operators in the `src/operators` directory.

* **map.ts**: Add an example demonstrating the usage of the `map` operator.
* **filter.ts**: Add an example demonstrating the usage of the `filter` operator.
* **flatMap.ts**: Add an example demonstrating the usage of the `flatMap` operator.
* **scan.ts**: Add an example demonstrating the usage of the `scan` operator.
* **skip.ts**: Add an example demonstrating the usage of the `skip` operator.
* **skipUntil.ts**: Add an example demonstrating the usage of the `skipUntil` operator.
* **skipWhile.ts**: Add an example demonstrating the usage of the `skipWhile` operator.
* **take.ts**: Add an example demonstrating the usage of the `take` operator.
* **takeUntil.ts**: Add an example demonstrating the usage of the `takeUntil` operator.
* **takeWhile.ts**: Add an example demonstrating the usage of the `takeWhile` operator.
* **zip.ts**: Add an example demonstrating the usage of the `zip` operator.
* **pairwise.ts**: Add an example demonstrating the usage of the `pairwise` operator.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Yshayy/hi-stream?shareId=XXXX-XXXX-XXXX-XXXX).
* **map.ts**
  - Add an example of how to use the `map` operator.
* **filter.ts**
  - Add an example of how to use the `filter` operator.
* **flatMap.ts**
  - Add an example of how to use the `flatMap` operator.
* **scan.ts**
  - Add an example of how to use the `scan` operator.
* **skip.ts**
  - Add an example of how to use the `skip` operator.
* **skipUntil.ts**
  - Add an example of how to use the `skipUntil` operator.
* **skipWhile.ts**
  - Add an example of how to use the `skipWhile` operator.
* **take.ts**
  - Add an example of how to use the `take` operator.
* **takeUntil.ts**
  - Add an example of how to use the `takeUntil` operator.
* **takeWhile.ts**
  - Add an example of how to use the `takeWhile` operator.
* **zip.ts**
  - Add an exam
6A5E
ple of how to use the `zip` operator.
* **pairwise.ts**
  - Add an example of how to use the `pairwise` operator.
* **package-lock.json**
  - Remove `web-streams-polyfill` dependency.
@Yshayy Yshayy merged commit 5e7202e into main Apr 12, 2025
1 check passed
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.

1 participant
0