Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

message process task #116

Open
cloud-rocket opened this issue Sep 11, 2020 · 1 comment
Open

message process task #116

cloud-rocket opened this issue Sep 11, 2020 · 1 comment

Comments

@cloud-rocket
Copy link

Hi,

What is the proper way to use asyncio.create_task for running a message process loop? Something like:

while True:
   msg = await client.new_message()

  process(msg)

Thanks!!

@Mixser
Copy link
Contributor

Mixser commented Oct 5, 2020

Hi @cloud-rocket,

Please clarify what you exactly want to do. Its seems question not about gmqt, but a question about general using of asyncio

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

No branches or pull requests

2 participants