[Feature Request] Support Coroutine for Thread Creation in ScheduledThreadPoolExecutor
- Dominant language
- Java
- Stars
- 122
- Forks
- 46
- Avg merge
- 11h 56m
- Merged PRs (30d)
- 9
Description
## Description
The current implementation of `ScheduledThreadPoolExecutor` does not directly support coroutines in thread creation and management. Coroutines offer a more lightweight and efficient concurrency mechanism, allowing the system to suspend and resume threads while waiting for operations to complete, rather than continuously occupying resources.
## User Story
- As a **developer**, I want to use coroutines to simplify the asynchronous programming model, reduce the overhead of thread creation, and improve the responsiveness of my applications.
## Expected Feature
Allow `ScheduledThreadPoolExecutor` to use **coroutines** instead of traditional threads when executing scheduled tasks.
Contributor guide
Assessment
This issue has not been assessed yet.