Skip to content

Commit

Permalink
fix spelling mistake: set_chanel->set_channel
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsrolf committed Jul 15, 2022
1 parent e30529e commit 25dc1bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/realtime/channel.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ <h1 class="title">Module <code>realtime.channel</code></h1>
&#34;&#34;&#34;
`Channel` is an abstraction for a topic listener for an existing socket connection.
Each Channel has its own topic and a list of event-callbacks that responds to messages.
Should only be instantiated through `connection.Socket().set_chanel(topic)`
Should only be instantiated through `connection.Socket().set_channel(topic)`
Topic-Channel has a 1-many relationship.
&#34;&#34;&#34;

Expand Down Expand Up @@ -141,7 +141,7 @@ <h3>Instance variables</h3>
<dd>
<div class="desc"><p><code><a title="realtime.channel.Channel" href="#realtime.channel.Channel">Channel</a></code> is an abstraction for a topic listener for an existing socket connection.
Each Channel has its own topic and a list of event-callbacks that responds to messages.
Should only be instantiated through <code>connection.Socket().set_chanel(topic)</code>
Should only be instantiated through <code>connection.Socket().set_channel(topic)</code>
Topic-Channel has a 1-many relationship.</p>
<p>:param socket: Socket object
:param topic: Topic that it subscribes to on the realtime server
Expand All @@ -154,7 +154,7 @@ <h3>Instance variables</h3>
&#34;&#34;&#34;
`Channel` is an abstraction for a topic listener for an existing socket connection.
Each Channel has its own topic and a list of event-callbacks that responds to messages.
Should only be instantiated through `connection.Socket().set_chanel(topic)`
Should only be instantiated through `connection.Socket().set_channel(topic)`
Topic-Channel has a 1-many relationship.
&#34;&#34;&#34;

Expand Down
2 changes: 1 addition & 1 deletion realtime/channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Channel:
"""
`Channel` is an abstraction for a topic listener for an existing socket connection.
Each Channel has its own topic and a list of event-callbacks that responds to messages.
Should only be instantiated through `connection.Socket().set_chanel(topic)`
Should only be instantiated through `connection.Socket().set_channel(topic)`
Topic-Channel has a 1-many relationship.
"""

Expand Down

0 comments on commit 25dc1bc

Please sign in to comment.