Skip to content
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

[Feature] Roadmap #10

Open
3 of 4 tasks
compulim opened this issue Jun 8, 2024 · 0 comments
Open
3 of 4 tasks

[Feature] Roadmap #10

compulim opened this issue Jun 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@compulim
Copy link
Owner

compulim commented Jun 8, 2024

Technology Push Pull LHS RHS Function name
AsyncIterable Yes Yes Yes values()
Observable Yes Yes Yes [Symbol.observable]()
EventTarget Yes Yes Yes addEventListener()
ReadableStream Yes Yes Not useful Yes readable
Reader Yes Yes Not useful getReader()
WritableStream Yes Yes Not useful pipeTo()
Writer Yes No Not useful getWriter()
MessagePort Yes

Push-based to pull-based is not recommended as it requires internal buffering and impossible to implement flow control.

Total 18 combinations.

Done

Roadmap

  • Rename iterableGetReadble to readableStreamFrom
  • Rename PushAsyncIterableIterator to IterableWritableStream
  • Consider MessagePort to/from ReadableStream/WritableStream

Under investigation

  • (Not useful) Observable and WritableStream/Writer (Observable.pipeTo()) Achievable through Observable.subscribeAsReadable().pipeTo()
@compulim compulim added the bug Something isn't working label Jun 8, 2024
@compulim compulim changed the title [Feature] Array.withChange(): Array | { change: Promise } [Feature] Roadmap Jun 8, 2024
@compulim compulim added enhancement New feature or request and removed bug Something isn't working labels Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant