Skip to content

Commit

Permalink
erlang-server: Extend provided return and make the type available (#2…
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonVides authored Nov 12, 2024
1 parent 20b5059 commit a95ea1f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
-type context() :: #{_ := _}.

-export_type([context/0, api_key_callback/0,
accept_callback_return/0, accept_callback/0, provide_callback/0]).
accept_callback_return/0, provide_callback_return/0,
accept_callback/0, provide_callback/0]).

-optional_callbacks([api_key_callback/2]).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
-type context() :: #{_ := _}.

-export_type([context/0, api_key_callback/0,
accept_callback_return/0, accept_callback/0, provide_callback/0]).
accept_callback_return/0, provide_callback_return/0,
accept_callback/0, provide_callback/0]).

-optional_callbacks([api_key_callback/2]).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
-type context() :: #{_ := _}.

-export_type([context/0, api_key_callback/0,
accept_callback_return/0, accept_callback/0, provide_callback/0]).
accept_callback_return/0, provide_callback_return/0,
accept_callback/0, provide_callback/0]).

-optional_callbacks([api_key_callback/2]).

Expand Down

0 comments on commit a95ea1f

Please sign in to comment.