thread-stream icon indicating copy to clipboard operation
thread-stream copied to clipboard

A streaming way to send data to a Node.js Worker Thread

Results 14 thread-stream issues
Sort by recently updated
recently updated
newest added

import will not universally work on all node.js use-cases like pkg for example. I made fix to handover the module loading to require in node.js for better compatibility. when removing...

Hi, I'm using thread-stream (through pino) in a project that uses TypeScript compiled to ESM modules, running in Node.js. I'm getting this error when running the project: ``` file:///path-to-project/node_modules/thread-stream/index.js:50 const...

What can we do after catching `Error: _flushSync took too long`? Can we retry flushing or is the data lost from `write`?

When using this module within a `TranformStream`, it leads to this error: ``` /Users/mspigolon/workspace/thread-stream/index.js:278 throw new Error('end() took too long (10s)') ^ Error: end() took too long (10s) at ThreadStream.end...

Hi there, This project is very cool. I'm after something that can receive data over a stream from a worker. Is this something you are interested in implementing? Thanks. Bogdan.

Couldn't quite get thread-stream running well in our services so we re-implemented something similar. We used a simpler concurrent queue implementation that might be useful for thread-stream as well. Basically...

The semantics of flush is a little unclear to me, i.e. when I call `flush(cb)` I'd expect that all data that I have `write(chunk)` would be flushed when `cb` is...