bzp2010 commented on code in PR #7043: URL: https://github.com/apache/apisix/pull/7043#discussion_r872251091
########## apisix/core/pubsub.lua: ########## @@ -119,8 +138,8 @@ end -- no error exists. -- -- @function core.pubsub.on --- @tparam string command to add callback --- @tparam function handler callback on receipt of command +-- @tparam string command The command to add callback. +-- @tparam func handler The callback function on receipt of command. Review Comment:  The documentation indicates that `func` should be used. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
