Merge branch 'master' into add_stacktrace

This commit is contained in:
Shawn 2020-11-20 21:01:44 +08:00 committed by GitHub
commit 22773ba76d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 13 deletions

View File

@ -56,22 +56,9 @@
%% Callback
%%--------------------------------------------------------------------
-ifdef(use_specs).
-callback(connect(ConnOpts :: list())
-> {ok, pid()} | {error, Reason :: term()}).
-else.
-export([behaviour_info/1]).
behaviour_info(callbacks) ->
[{connect, 1}];
behaviour_info(_Other) ->
undefined.
-endif.
%%--------------------------------------------------------------------
%% API
%%--------------------------------------------------------------------