Skip to content

Commit

Permalink
Improve typespec
Browse files Browse the repository at this point in the history
  • Loading branch information
sasa1977 committed Jan 22, 2022
1 parent b7ada55 commit e09aabd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/smppex/session.ex
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ defmodule SMPPEX.Session do
The return value will be used as the exit reason of the session process. The default implementation returns `{:timers, reason}`.
"""
@callback handle_timeout(timeout_reason :: term, state) :: exit_reason :: term
@callback handle_timeout(SMPPEX.SMPPTimers.stop_reason(), state) :: exit_reason :: term

@doc """
Invoked when the SMPP session successfully sent PDU to transport or failed to do this.
Expand Down

0 comments on commit e09aabd

Please sign in to comment.