chore(hooks): Fix comment

This commit is contained in:
ieQu1 2023-11-09 14:05:13 +01:00
parent 788698f157
commit 3350bda446
1 changed files with 3 additions and 2 deletions

View File

@ -66,8 +66,9 @@
%% - Callbacks with greater priority values will be run before %% - Callbacks with greater priority values will be run before
%% the ones with lower priority values. e.g. A Callback with %% the ones with lower priority values. e.g. A Callback with
%% priority = 2 precedes the callback with priority = 1. %% priority = 2 precedes the callback with priority = 1.
%% - The execution order is the adding order of callbacks if they have %% - If the priorities of the hooks are equal then their execution
%% equal priority values. %% order is determined by the lexicographic of hook function
%% names.
-type hookpoint() :: atom() | binary(). -type hookpoint() :: atom() | binary().
-type action() :: {module(), atom(), [term()] | undefined}. -type action() :: {module(), atom(), [term()] | undefined}.