Skip to content

Clarifying incorrect term "Coroutine interceptor" → "Continuation Interceptor" #420

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

easternkite
Copy link
Contributor

Description

This pull request fixes a terminology inaccuracy in the documentation.

Before:
"Coroutine interceptor provides a straightforward tool..."

After:
"Continuation Interceptor provides a straightforward tool..."

In Kotlin Coroutines, Continuation Interceptor is the correct and official term used to describe a CoroutineContext.Element that intercepts coroutine resumptions. The phrase "coroutine interceptor" is imprecise and does not correspond to any actual type or interface in the Kotlin standard library. This change improves clarity and consistency with Kotlin's coroutine terminology.

…tionInterceptor

"Coroutine interceptor" is not an official Kotlin term and may cause confusion. 
This patch corrects it to "ContinuationInterceptor" in the 
"Cooperative single-thread multitasking" section to match the actual API name.
@easternkite easternkite changed the title Fix incorrect term "Coroutine interceptor" → "Continuation Interceptor" Clarifying incorrect term "Coroutine interceptor" → "Continuation Interceptor" May 9, 2025
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.

1 participant