Current section
Files
Jump to
Current section
Files
include/glimit@bucket_Store.hrl
-record(store, {
get :: fun((binary()) -> {ok,
gleam@option:option(glimit@bucket:bucket_state())} |
{error, nil}),
set :: fun((binary(), glimit@bucket:bucket_state(), integer()) -> {ok, nil} |
{error, nil}),
lock :: fun((binary()) -> {ok, nil} | {error, nil}),
unlock :: fun((binary()) -> {ok, nil} | {error, nil})
}).