Skip to content

Join solution#44

Open
willcrichton wants to merge 1 commit into02-join-afrom
02-join-b
Open

Join solution#44
willcrichton wants to merge 1 commit into02-join-afrom
02-join-b

Conversation

@willcrichton
Copy link
Contributor

Reference solution for integrating the chatbot crate. Key changes:

  • tokio::join is used to poll both futures simultaneously.
  • Use the random number modulo responses.len() to index the responses vector.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant