In this repository, we are working on the design for supporting coroutines in Kotlin. It is logically a part of KEEP.
- Informal description of the current proposal
- Introductory video: Coroutines in Kotlin (Andrey Breslav at JVMLS 2016)
- Example code illustrating what coroutines are compiled to (this repo can be cloned and opened as a project in IntelliJ IDEA)
- Example coroutine-based libraries (async, generate, rx.Observable)
- Issues
Please feel free to review the documents and examples and share your feedback, concerns and proposals in the issues (please look for existing issues first to avoid duplicates).
Some highlighted issues:
- Arguments against implementing this feature are discussed here
- How similar features work in other languages is discussed here
Your input is very important for us. Use cases and experience reports about other languages/tools with similar functionality are especially appreciated. Final decisions will be taken by the Kotlin team, but we do our best to cover as many use cases as possible.