nextcore
nextcore copied to clipboard
A super fast low level Discord library for full control.
This is so simple it should probably just be migrated to taskipy which is already used by the project.
This PR attempts to safely store then close any loose tasks in the code. AnyIO's task groups are used to safely handle tasks all being created to run coroutines (like...
Saw this in discord.py, and this should atleast affect Dispatcher and maybe HTTP too. https://textual.textualize.io/blog/2023/02/11/the-heisenbug-lurking-in-your-async-code/
`test_stores_and_get_nextcore_id` should be changed to use strings instead.
AnyIO is possible to version lock, and provides newer async features than asyncio bundled in 3.8.
Like LimitedGlobalRateLimiter, supporting priority will allow prioritizing high priority requests.