Skip to content

Commit

Permalink
chore: fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhuyan committed Jul 3, 2023
1 parent 1243818 commit 9795598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quicer.erl
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ listen(ListenOn, Opts) when is_map(Opts) ->
quicer_nif:listen(ListenOn, Opts).

%% @doc close listener with listener handle
-spec close_listener(listener_handle()) -> ok | {error, badarg | closed}.
-spec close_listener(listener_handle()) -> ok | {error, badarg | closed | timeout}.
close_listener(Listener) ->
close_listener(Listener, 5000).

Expand Down

0 comments on commit 9795598

Please sign in to comment.