#Does each command invocation create a new thread?
1 messages · Page 1 of 1 (latest)
each command is done asynchronously, not with threads
Thanks! I’ll do some research on asyncio
1 messages · Page 1 of 1 (latest)
I'm a bit new to asyncio and not quite sure how it works. When a user issues a command on Discord, is a new thread created for that command's function to run in?
I've noticed that I use time.sleep() it blocks other commands. However, if I use asyncio.sleep(), other commands can be completed in that time.
each command is done asynchronously, not with threads
Thanks! I’ll do some research on asyncio