Skip to content

Commit

Permalink
fix(set-opts): fix function typespec
Browse files Browse the repository at this point in the history
  • Loading branch information
keynslug committed Dec 19, 2023
1 parent fe84af9 commit 923e819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/esockd.erl
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ get_options({Proto, ListenOn}) when is_atom(Proto) ->
%% If some options could not be set, either because they are not applicable or
%% because they require a listener restart, function returns an error.
-spec set_options({atom(), listen_on()}, options()) ->
{ok, options()} | {error, _TODO}.
ok | {error, not_supported | _UpdateErrorReason}.
set_options({Proto, ListenOn}, Options) when is_atom(Proto) ->
with_listener_ref({Proto, ListenOn}, ?FUNCTION_NAME, [Options]).

Expand Down

0 comments on commit 923e819

Please sign in to comment.