Closed kelunik closed 6 years ago
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.
Closing, as the interface doesn't require anything like that.
Currently we resolve promises from
write
to the length written. I think we can remove that. That'd allow an optimization like using a singletonNullSuccess
object.