Hub.Channel.publish

You're seeing just the function publish, go back to Hub.Channel module for more information.
Link to this function

publish(channel, message)

Specs

publish(pid(), any()) :: non_neg_integer()

Publishes the message to all matching subscribers of this channel. Returns number of subscribers that the message was sent to.