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

feat!: Support streaming contents #33

Merged
merged 1 commit into from
Oct 15, 2022
Merged

feat!: Support streaming contents #33

merged 1 commit into from
Oct 15, 2022

Conversation

phated
Copy link
Member

@phated phated commented Jan 24, 2018

Started working on streaming support for this. The write method was easy because it assumed that .sourceMap exists on the file so I just needed to add the comment to the stream.

I'm hoping to give the add stuff a go in the next few days as long as nothing major comes up.

Closes #32
Closes #36

cc @erikkemperman @nmccready @robinvenneman

@phated
Copy link
Member Author

phated commented Oct 11, 2022

I've been working on this and I don't think it really makes sense to process chunks of the stream because we'll always need to hold the chunks in memory before we can pass the vinyl file upstream. So I'm going to implement with vinyl-contents to handle both types of content through buffering a stream.

@phated phated changed the title Streaming support (ref #32) feat!: Support streaming contents Oct 13, 2022
@phated phated requested a review from yocontra October 13, 2022 22:37
@phated
Copy link
Member Author

phated commented Oct 13, 2022

@sttk please review!

Copy link
Contributor

@sttk sttk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@phated I've reviewed this PR and there is nothing to point out. Great!

@phated phated merged commit e989297 into master Oct 15, 2022
@phated phated deleted the streaming branch October 15, 2022 23:42
@github-actions github-actions bot mentioned this pull request Oct 15, 2022
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.

Switch to streamx Handle streaming contents
2 participants