Open
Description
Describe the bug
kotlinx-datetime
was given new and updated documentation... kotlinx-corotoutines
could also benefit from the same treatment.
Provide a Reproducer
Going through the list from kotlinx-datetime
(Kotlin/kotlinx-datetime#347):
- Extensively document what the entity represents,
whether it follows ISO-8601, how the entity can be acquired,and what time scale it comes from. Example - Provide a minimum of how the entity can be used. Example
- Thoroughly explain the allowed and expected contract and behaviours and system-specifics. Example
- If applicable, provide contexts in which the entity is expected/recommended to be used (e.g. our README shines at that) and how it interacts with other (core) entities. Example
- Provide a basic usage example. Example
- If applicable, provide details about conversion rules, gotchas and recommendations. Example (it's not mentioned what happens when cancellation goes the other way)
- Where appropriate, information about conversions and interactions with native types (e.g.
Instant <-> Java InstantCoroutineDispatcher <-> Java Executor conversion) - Ensure that information used in our README is, in fact, deducible from the core entities documentation