Skip to content

message process task #116

Open
Open
@cloud-rocket

Description

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!!

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions