Skip to content

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
@nikitabobko
Copy link
Member

Thanks, merged manually

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