emqx/apps/emqx_durable_storage/test
Thales Macedo Garitezi 7ab57824dc chore(ds): change return type of storage_layer:next/{1,2}
Part of https://emqx.atlassian.net/browse/EMQX-10942

The goal is to help make it clear to the caller of `next` what to do next: if the iterator
should still be used or if no new messages will ever come out of it.

From:

```erlang
-spec next(iterator()) -> {value, binary(), iterator()} | none | {error, closed}.
```

To:

```erlang
-spec next(iterator()) -> {ok, iterator(), [binary()]} | end_of_stream.

-spec next(iterator(), pos_integer()) -> {ok, iterator(), [binary()]} | end_of_stream.
```
2023-11-08 03:04:19 +01:00
..
props chore(ds): change return type of storage_layer:next/{1,2} 2023-11-08 03:04:19 +01:00
emqx_ds_message_storage_bitmask_SUITE.erl refactor(ds): message_storage -> message_storage_bitmask 2023-06-22 10:20:18 +02:00
emqx_ds_storage_layer_SUITE.erl chore(ds): change return type of storage_layer:next/{1,2} 2023-11-08 03:04:19 +01:00