Follow

Ahhhhh. Simulating network failures with precise timing is such a pain in the ass.

I need to simulate sending data, it being queued up in the TCP buffer and the connection dying before the buffer is flushed. In Node.js 😭 Pausing transform streams doesn't seem to do the trick. Might have better luck with a funky duplex.

· · Web · 1 · 0 · 1

Streamx is a cool library but the documentation skipps a bunch of important details. It'd be nice if the docs were more comprehensive, but at least I can read the source code to see what's "actually" true

Sign in to participate in the conversation
Mauvestodon

Escape ship from centralized social media run by Mauve.