Skip to content
Main menu
  • Main page
  • Discover
  • Unexpected connections
  • Topics
  • Random article
  • Search
Your library
  • Saved articles
  • Recent discoveries
  • Rabbit-hole trails
Topic areas
  • Computer Science
  • Mathematics
  • Physics
  • Engineering
  • Biology
  • Economics
  • Curiosities
WikiholeDeeper into Wikipedia
EnglishEN
  • Saved
  • History

  • Article text and media come live from Wikipedia via the official MediaWiki API and are available under the Creative Commons Attribution-ShareAlike 4.0 License; additional terms may apply. Each article links to its source and revision.
  • WikiHole is an independent project and is not affiliated with the Wikimedia Foundation.
  • How ranking works
  • All topics
  • Reading history
  • Random article
  • MediaWiki API

Coroutine

  • Article
  • Rabbit hole
  • Read
  • View history
Tools
Actions
  • Read
  • View history
General
  • Recent changes
  • Related articles
  • Random discovery
This article
Reading time
20 min
Topic
Computer Science
Quality
C-class
Views
1.3k in 14 days
Last edited
10 Nov 2026
Print/export
  • Printable version
In other projects
  • Wikidata item
From Wikipedia, the free encyclopedia
Rabbit hole:
  1. Coroutine

Coroutines are computer program components that can be suspended and resumed — generalizing subroutines — for cooperative multitasking. Coroutines are well-suited for implementing familiar program components such as cooperative tasks, exceptions, event loops, iterators, infinite lists and pipes.

They have been described as "functions whose execution you can pause".1

Melvin Conway coined the term coroutine in 1958 when he applied it to the construction of an assembly program.2 The first published explanation of the coroutine appeared later, in 1963.3

Loading the rest of the article…

Recent changes

Rabbit hole

Where Coroutine leads. Every connection below has a source: a link in this article, a shared Wikipedia category, or CirrusSearch text similarity. Articles already on your trail are left out.

The rest of this article could not be loaded.

Wikipedia is rate limiting us right now. Try again in a minute.
Try again

Related articles are unavailable right now.

Wikipedia is rate limiting us right now. Try again in a minute.
Last edited
10 Nov 2026

Wikipedia did not return the list of recent edits.

View full revision history

General
  • Recent changes
  • Related articles
  • Random discovery
This article
Reading time
20 min
Topic
Computer Science
Quality
C-class
Views
1.3k in 14 days
Last edited
10 Nov 2026
Print/export
  • Printable version
In other projects
  • Wikidata item
Last edited
10 Nov 2026