question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Are there any plans for `fromNodeStream` or a `pipe`?

See original GitHub issue

First of all, I’ve tinkered around with RxJS, as well as Highland, and I prefer most because of the way it nails the interaction with promises. Also, your docs with the stream diagrams are just miles above the other two.

Second, I’m using most in nodejs, and I’m wondering if you have any thoughts about whether node streams have a future in most. I’ve been able to use most.create to get stream data through a most stream, but there really needs to be a way to pipe a most through another node stream. As well as ways to handle back pressure. Otherwise it’s not really very useful, reading from a large node stream is like a firehose, and it will fill up the internal buffer and grind node to a halt after a while.

Have you had any thoughts about adapting most to node streams? Is there any priority on additions like this? I am happy mixing and matching with highland, but like I said – I much prefer most, and it would be great to be able to do things like this with it. Maybe if I have some time I’ll try to learn the concepts you have around “sources” and “sinks” to see if I can fork this repo and add something. Any guidance on that front would be greatly appreciated.

Cheers!

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
briancavaliercommented, Oct 6, 2016

Hey @nackjicholson, been a while 😃 hope all is well.

@kaosat-dev Thanks for jumping in and offering to help here. Feel free to discuss in the gitter chat. In addition to the core team, there are lots of knowledgable folks in there who have contributed to mostjs-community.

0reactions
kaosat-devcommented, Oct 7, 2016

@briancavalier sorry for the late reply, thanks , I’ll ask around in the gitter chat, been lurking there for a long time now 😃 Thanks for the infos, I was not aware of mostjs-community , quite a goldmine and a good place to start from !

Read more comments on GitHub >

github_iconTop Results From Across the Web

node/stream.md at main · nodejs/node - GitHub
A stream is an abstract interface for working with streaming data in Node.js. The node:stream module provides an API for implementing the stream...
Read more >
Web Streams Everywhere (and Fetch for Node.js) - CSS-Tricks
In the browser, fetch and TextDecoderStream are available on the global object so you wouldn't include any import statements.
Read more >
callback to handle completion of pipe - node.js - Stack Overflow
I want to be informed about when the document is downloaded. i have not seen any callback with pipe.Or, Is there any 'end'...
Read more >
node-fetch - Heroku Elements
node-fetch from v3 is an ESM-only module - you are not able to import it with ... import {pipeline} from 'node:stream'; import {promisify}...
Read more >
fastify-arrow - npm
There are no other projects in the npm registry using fastify-arrow. ... fromNodeStream() . You can also pipe() an AsyncIterable to a NodeJS....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found