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

[WIP] Implement Node stream #1075

Closed
wants to merge 1 commit into from
Closed

[WIP] Implement Node stream #1075

wants to merge 1 commit into from

Conversation

sgammon
Copy link
Member

@sgammon sgammon commented Jul 11, 2024

Ready for review Powered by Pull Request Badge

Related to #853

Implement the Node API's stream module in Kotlin.

  • NodeStreamConsumers.kt:

    • Add methods to consume Readable streams and return promises that resolve with data as a string or Buffer.
    • Add methods to consume Readable streams and write data to Writable streams or OutputStreams.
    • Add methods to consume InputStreams and return promises that resolve with data as a string or Buffer.
    • Add methods to consume InputStreams and write data to Writable streams or OutputStreams.
  • NodeStreamPromises.kt:

    • Add methods to consume Readable streams and return promises that resolve with data as a string or Buffer.
    • Add methods to consume Readable streams and write data to Writable streams or OutputStreams.
    • Add methods to consume InputStreams and return promises that resolve with data as a string or Buffer.
    • Add methods to consume InputStreams and write data to Writable streams or OutputStreams.
  • NodeStreamWeb.kt:

    • Add methods to consume Readable streams and return promises that resolve with data as a string or Buffer.
    • Add methods to consume Readable streams and write data to Writable streams or OutputStreams.
    • Add methods to consume InputStreams and return promises that resolve with data as a string or Buffer.
    • Add methods to consume InputStreams and write data to Writable streams or OutputStreams.

For more details, open the Copilot Workspace session.

@sgammon sgammon closed this Jul 11, 2024
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