Comments (4)
Hi Mathieu,
Thanks for the extensive report. I will be looking into this over the weekend.
You're probably quite right this happens due to an error in tee
, but at the same time I'm not sure if this is the best way to achieve what you're trying here...
I'll propose a temporary solution and go after the tee'd error.
Best,
M.
from scramjet.
Hi, I managed to identify the issue - the raise
method seems to return true
which does stop the stream, but in a strange way: by pushing a true
chunk which in fact does fail. I'm looking into solutions.
from scramjet.
Ok, so I did find a problem and a solution was found, however it breaks almost all current tests and cannot be supported in the current interface.
Sadly no elegant workaround is available, but this works:
https://github.com/scramjetorg/scramjet-issue-tests/blob/main/103-whenend/index-workaround.js
In April/May we will be starting work on a new API for Scramjet v5 - v4 interface will be supported as is through a compatibility layer.
from scramjet.
Thank you for your investigation! I will be looking forward for v5 then :)
from scramjet.
Related Issues (20)
- MultiStream.map(...).mux is not a function HOT 2
- Parsing CSV files of certain arbitrary lengths suddenly stops HOT 7
- Using scramjet to concate and split data received with socket HOT 10
- DataStream.toJSONArray causes an exception on empty input HOT 5
- Fail when plugin adds a new class twice HOT 1
- I would like to pin this repository to my GH profile HOT 1
- Stateful stream transformation HOT 3
- Class 'PromiseTransform' incorrectly implements class 'Readable' HOT 6
- DataStream.distribute causes ReferenceError when using external function inside HOT 1
- Iterating each chunk with async function with stopping stream HOT 2
- Runner failed error HOT 3
- Cannot stop instance HOT 3
- 'Sequence unpack failed' issue HOT 9
- Instance timeout
- Runner failed error HOT 2
- Slow execution time of reading a big file HOT 4
- Drag n drop into 'add sequence' multiple times spams seq list HOT 1
- Add sequence's remove button on the list page
- Getting error Class 'PromiseTransform' incorrectly implements class 'Readable' and 'Writable' HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scramjet.