stream: writable don't throw multiple callback error
Align ERR_MULTIPLE_CALLBACK in Writable with the rest of error handling as well as how the error is implemented in Transform.
I've just basically copied the Transform
test and made sure Writable
matches it.
Throwing here is dangerous and can lead to unnecessary unhandled exception.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines