Skip to content

Commit

Permalink
Extend 'continuation' value type to undefined | binary()
Browse files Browse the repository at this point in the history
This is to bring the `index_options()` type in agreement with actual usage, as seen for example in riak_cs: [here](https://github.com/TI-Tokyo/riak_cs/blob/develop/apps/riak_cs/src/riak_cs_gc_key_list.erl#L126) its `continuation` option is explicitly [set](https://github.com/TI-Tokyo/riak_cs/blob/develop/apps/riak_cs/src/riak_cs_gc_key_list.erl#L160) to `undefined`.
  • Loading branch information
hmmr authored May 6, 2024
1 parent 3b6ad6e commit 4837000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/riakc_pb_socket.erl
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
-type index_opt() :: {timeout, timeout()} |
{call_timeout, timeout()} |
{stream, boolean()} |
{continuation, binary()} |
{continuation, continuation()} |
{pagination_sort, boolean()} |
{max_results, non_neg_integer() | all}.
-type index_opts() :: [index_opt()].
Expand Down

0 comments on commit 4837000

Please # to comment.