Re: [whatwg/streams] Recoverable error from failed parameter validation? (Issue #1280)

> > Can we do the validation early before queuing? (i.e. have a separate "validation step"?)
> 
> The problem is that the `WritableStream` may be part of a long pipe chain. If the writable throws a "soft" error, then there's nowhere for that error to go.

Exactly, and that's why I mentioned `FileSystemWritableFileStream.write()`, which theoretically can be made to run separate steps separate from the write algorithm and thus do not affect piping.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/1280#issuecomment-1564513046
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/streams/issues/1280/1564513046@github.com>

Received on Friday, 26 May 2023 14:53:15 UTC