Replies: 1 comment
-
I don't use phew so I cannot answer questions on comparisons. The Example: async def main():
web_server_task = asyncio.create_task(app.start_server())
exit = False
while not exit:
# do whatever you want here (as long as it is non-blocking)
# set exit=True to exit
await web_server_task |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
One of the reasons i am looking for a replacement of the isage of phew, is once you start the server with phew.run(), you cannot do anything else.
Is it the same withh app.run()?
i often want to use an api at the same time as i use mqtt in the same application.
How could this be made possible?
Beta Was this translation helpful? Give feedback.
All reactions