Skip to content

Is pipeline( ) now recommended over .pipe( )? [yes] #2586

Answered by phated
rootwork asked this question in General
Discussion options

You must be logged in to vote

@rootwork Yep! Using pipeline is actually the suggestion now, though we didn't want to add that to the main website docs as it is yet-another-hurdle for anyone that doesn't know node. I was even able to get an upstream change in node that causes the pipeline to fail properly if you don't specify a callback, such that export function foo() { return pipeline(src(), dest()) } would work.

Happy to review anything you want to send over!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@phated
Comment options

@rootwork
Comment options

Answer selected by rootwork
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants