Przeglądaj źródła

chore(hooks): update type

Rory Z 4 lat temu
rodzic
commit
186094d2ab
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      apps/emqx/src/emqx_hooks.erl

+ 2 - 2
apps/emqx/src/emqx_hooks.erl

@@ -66,8 +66,8 @@
 %%     equal priority values.
 
 -type(hookpoint() :: atom()).
--type(action() :: mfargs()).
--type(filter() :: mfargs()).
+-type(action() :: {module(), atom(), [term()] | undefined}).
+-type(filter() :: {module(), atom(), [term()] | undefined}).
 
 -record(callback, {
           action :: action(),