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".
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".