Change Readable return type signature to a Record
Closed this issue · 1 comments
jamesdbrock commented
I think I made a mistake designing the API for this package and I regret it.
The reading functions all return type Tuple (Array Buffer) Boolean. Instead they should return type {buffers:: Array Buffer, readagain :: Boolean}.
I don't know if it's worth a breaking change for an aesthetic mistake.
jamesdbrock commented
Done in #11