#Does each command invocation create a new thread?

1 messages · Page 1 of 1 (latest)

tacit dune
#

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.

pseudo pier
tacit dune
#

Thanks! I’ll do some research on asyncio