Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

Rename server functions to follow *_loop convention #7

Merged
merged 2 commits into from
Sep 2, 2019

Conversation

kachayev
Copy link
Contributor

@kachayev kachayev commented Sep 2, 2019

Described here: async-rs/async-std#106

If new names sound okay, I would submit PR for the book.

@@ -80,7 +80,7 @@ async fn client(mut broker: Sender<Event>, stream: TcpStream) -> Result<()> {
Ok(())
}

async fn client_writer(
async fn client_writer_loop(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
async fn client_writer_loop(
async fn connection_writer_loop(

@matklad
Copy link
Member

matklad commented Sep 2, 2019

bors r+

@matklad
Copy link
Member

matklad commented Sep 2, 2019

bors ping

?

@bors
Copy link
Contributor

bors bot commented Sep 2, 2019

pong

@matklad
Copy link
Member

matklad commented Sep 2, 2019

bors r+

bors bot added a commit that referenced this pull request Sep 2, 2019
7: Rename server functions to follow *_loop convention r=matklad a=kachayev

Described here: async-rs/async-std#106

If new names sound okay, I would submit PR for the book.

Co-authored-by: Oleksii Kachaiev <[email protected]>
@bors
Copy link
Contributor

bors bot commented Sep 2, 2019

Build succeeded

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants