Coroutine
Definition, Meaning & Examples
Part of speech noun
Quick meaning: Coroutine is a noun meaning (programming) A piece of code that performs a task, and that can be passed new input and return output more than once.
Meaning
(programming) A piece of code that performs a task, and that can be passed new input and return output more than once.
Example Sentences
Python coroutines are the product of a series of enhancements to the humble generator functions we've seen so far in the book.
Although a powerful tool, coroutines can be hard to understand due to the way data can flow back and forth between sections of the code.
The actual origin of the concept of symmetric unit control is difficult to determine. One of the earliest published applications of coroutines was in the area of syntax analysis (Conway, 1963).
Word Forms
- coroutines
- co-routine
Related Words
Related dictionary entries include iteration, loop, procedure, routine, function, expression.
Related Dictionary Tools
Sources & Attribution
FreeDictionaryAPI.com / Wiktionary · Original source · CC BY-SA 4.0
Dictionary data is provided by FreeDictionaryAPI.com and sourced from Wiktionary under its stated license.