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
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions proposals/coroutines.md
Original file line number Diff line number Diff line change
Expand Up @@ -1548,10 +1548,10 @@ It is very convenient to write cooperative single-threaded applications, because
deal with concurrency and shared mutable state. JS, Python and many other languages do
not have threads, but have cooperative multitasking primitives.

[Coroutine interceptor](#coroutine-interceptor) provides a straightforward tool to ensure that
[Continuation interceptor](#continuation-interceptor) provides a straightforward tool to ensure that
all coroutines are confined to a single thread. The example code
[here](https://github.com/kotlin/kotlin-coroutines-examples/tree/master/examples/context/threadContext.kt) defines `newSingleThreadContext()` function that
creates a single-threaded execution services and adapts it to the coroutine interceptor
creates a single-threaded execution services and adapts it to the continuation interceptor
requirements.

We will use it with `future{}` coroutine builder that was defined in [building futures](#building-futures) section
Expand Down