fix(emqx): update the type spec for listener

This commit is contained in:
Shawn 2021-08-25 18:05:13 +08:00
parent 092f29fecd
commit 4ea451e207
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@
-type(channel() :: #channel{}).
-type(opts() :: #{zone := atom(), listener := atom(), atom() => term()}).
-type(opts() :: #{zone := atom(), listener := {Type::atom(), Name::atom()}, atom() => term()}).
-type(conn_state() :: idle | connecting | connected | reauthenticating | disconnected).