File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -790,23 +790,6 @@ defmodule GenServer do
790
790
@ callback format_status ( status :: :gen_server . format_status ( ) ) ::
791
791
new_status :: :gen_server . format_status ( )
792
792
793
- @ doc """
794
- Invoked in some cases to retrieve a formatted version of the `GenServer` status:
795
-
796
- * one of `:sys.get_status/1` or `:sys.get_status/2` is invoked to get the
797
- status of the `GenServer`; in such cases, `reason` is `:normal`
798
-
799
- * the `GenServer` terminates abnormally and logs an error; in such cases,
800
- `reason` is `:terminate`
801
-
802
- This callback can be useful to control the *appearance* of the status of the
803
- `GenServer`. For example, it can be used to return a compact representation of
804
- the `GenServer`'s state to avoid having large state terms printed.
805
-
806
- `pdict_and_state` is a two-elements list `[pdict, state]` where `pdict` is a
807
- list of `{key, value}` tuples representing the current process dictionary of
808
- the `GenServer` and `state` is the current state of the `GenServer`.
809
- """
810
793
@ doc deprecated: "Use format_status/1 callback instead"
811
794
@ callback format_status ( reason , pdict_and_state :: list ) :: term
812
795
when reason: :normal | :terminate
You can’t perform that action at this time.
0 commit comments