Remove length requirement for write promises
kelunik opened this issue · comments
Niklas Keller commented
Currently we resolve promises from write
to the length written. I think we can remove that. That'd allow an optimization like using a singleton NullSuccess
object.
Aaron Piotrowski commented
The interface doesn't explicitly say that the promise is resolved with the length and I think some classes implementing the interface already resolve with null, so I see no problem here.
Niklas Keller commented
Closing, as the interface doesn't require anything like that.