Redix.PubSub.stop

You're seeing just the function stop, go back to Redix.PubSub module for more information.
Link to this function

stop(conn, timeout \\ :infinity)

View Source

Stops the given pub/sub process.

This function is synchronous and blocks until the given pub/sub connection frees all its resources and disconnects from the Redis server. timeout can be passed to limit the amount of time allowed for the connection to exit; if it doesn't exit in the given interval, this call exits.

Examples

iex> Redix.PubSub.stop(conn)
:ok