فهرست منبع

chore(hooks): update type

Rory Z 4 سال پیش
والد
کامیت
87cc94ad28
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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(),