Project-Cepi / KStom

Kotlin libraries for Minestom
MIT License
24 stars 16 forks source link

feat: Create coroutine dispatchers #156

Closed Distractic closed 1 year ago

Distractic commented 2 years ago

I think, it will be a good idea to create coroutine dispatcher linked to the Minestom's scheduler system. One for Sync operation and another for Async operation.

Currently, Minestom has limitation to perfectly exploit coroutine in extension, but this could be a first approach to resolve this problem.

If you are agree with this first idea, I can work on it

LeoDog896 commented 2 years ago

That's a good idea! Better integration of coroutines can absolutely help.

Distractic commented 1 year ago

Implemented in MCCoroutine