Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
add sd-streams from https://github.com/stardazed/sd-streams/blob/mast… #3192
@stardazed/streams was removed from
This adds sd streams from https://github.com/stardazed/sd-streams/tree/8928cf04b035fd02fb1340b7eb541c76be37e546 to
I've disabled some lints in cli/js/streams/ in order to get this to pass, I've marked them with TODOs,
As well, There are a few other TODO's that i've noted in streams/. notably, we're missing the DomException, and there are some gross type casts.
There seems to be an impedance mismatch in the streams interface, eg, SDReadbleStream vs ReadableStream, but I'm not sure how much that matters at the moment
I was wondering this myself, but there are a bunch of changes that we need to make to the sd-source,
That's done it.
As far as I could tell, we didn't have an equivalent error type, so I shoved these into the
This is a lot of code that's being imported. If this is too big, I could stage these imports into smaller pieces.
for example, I could rip out the writer and transformer stuff from this pr, as we don't use those features yet, and don't have tests in place yet for that specific functionality.