Skip to content

Commit

Permalink
Revert "Document handle_info/2 (elixir-ecto#317)"
Browse files Browse the repository at this point in the history
This reverts commit 4776530.
  • Loading branch information
ruslandoga committed Dec 19, 2024
1 parent 4776530 commit 249c291
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions lib/db_connection.ex
Original file line number Diff line number Diff line change
Expand Up @@ -362,15 +362,6 @@ defmodule DBConnection do
"""
@callback disconnect(err :: Exception.t(), state :: any) :: :ok

@doc """
Optional callback for handling messages received by the connection.
Returns `{:disconnect, exception}` to close the connection or `:ok` to continue.
"""
@callback handle_info(message :: any, state :: any) :: {:disconnect, Exception.t()} | :ok

@optional_callbacks handle_info: 2

@connection_module_key :connection_module

@doc """
Expand Down

0 comments on commit 249c291

Please sign in to comment.