Dmitry-Erokhin / zq

MIT License
0 stars 0 forks source link

Empty batch does not opens batch #19

Closed Dmitry-Erokhin closed 6 years ago

Dmitry-Erokhin commented 6 years ago

Currently if there is no new events batch of size 0 will be open, which is useless and not very convenient (open batch => check return values => cancel or close batch).

Amend API, tests, and implementation that opening empty batch is not possible (return code 0 means "no events, batch is not opened".

Dmitry-Erokhin commented 6 years ago

Implemented in scope of #17