Skip to content

Improved Job docs #2035

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 19, 2020
Merged

Improved Job docs #2035

merged 1 commit into from
May 19, 2020

Conversation

elizarov
Copy link
Contributor

  • A more consistent prose in the Job interface documentation, gradually explaining concepts without repetition.
  • Clear introduction and naming of "coroutine job" vs "completable job".
  • Explanation of what is a "cancellation cause" of Job and how that relates to CancellationException.
  • Added a note to all Job-derived interfaces that they are not safe for inheritance in 3rd party libraries.
  • Consistently copied a note on thread-safety to all job-derived interfaces.

* A more consistent prose in the Job interface documentation, gradually explaining concepts without repetition.
* Clear introduction and naming of "coroutine job" vs "completable job".
* Explanation of what is a "cancellation cause" of Job and how that relates to CancellationException.
* Added a note to all Job-derived interfaces that they are not safe for inheritance in 3rd party libraries.
* Consistently copied a note on thread-safety to all job-derived interfaces.
@elizarov elizarov requested a review from qwwdfsad May 19, 2020 08:03
@qwwdfsad qwwdfsad merged commit 7382bb3 into develop May 19, 2020
@qwwdfsad qwwdfsad deleted the job-docs branch May 19, 2020 08:40
recheej pushed a commit to recheej/kotlinx.coroutines that referenced this pull request Dec 28, 2020
* A more consistent prose in the Job interface documentation, gradually explaining concepts without repetition.
* Clear introduction and naming of "coroutine job" vs "completable job".
* Explanation of what is a "cancellation cause" of Job and how that relates to CancellationException.
* Added a note to all Job-derived interfaces that they are not safe for inheritance in 3rd party libraries.
* Consistently copied a note on thread-safety to all job-derived interfaces.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants