semicoroutine

S1E1M3I1C3O1R1O1U1T1I1N1E1

noun

A type of coroutine with limited control over its execution flow that can yield values multiple times, suspending its execution and allowing the caller to resume it later. However, unlike full coroutines, semicoroutines do not specify where the execution will continue after yielding; control is always returned to the caller.

Similar
Scrabble 17

Meanings

nounsemicoroutine (plural semicoroutines)

plural semicoroutines

  1. computingA type of coroutine with limited control over its execution flow that can yield values multiple times, suspending its execution and allowing the caller to resume it later. However, unlike full coroutines, semicoroutines do not specify where the execution will continue after yielding; control is always returned to the caller.

    C# 2.0 added semi-coroutine functionality through the iterator pattern and yield keyword.

    2024, Vaskaran Sarcar, Parallel Programming with C# And . NET: Fundamentals of Concurrency and Asynchrony Behind Fast-Paced Applications, Apress, →ISBN, page 359
    1 more example

    Each incarnations needs some block structure information (static and dynamic link, display or such like), a return label, n+1 label variables for the activation points of the cooperation (in the "semicoroutine" case) and of the n coprocedures and the space needed for parameters and locals.

    1974, Information Processing (IFIP transactions: Computer science and technology), Unesco, page 409

    Synonyms: generator

Synonyms & antonyms

nounA type of coroutine with limited control over its execution flow that can yield values multiple times, suspending its execution and allowing the caller to resume it later. However, unlike full coroutines, semicoroutines do not specify where the execution will continue after yielding; control is always returned to the caller.

Similar
Also see

Origin

Cite this entry
APA

semicoroutine. (n.d.). In WatkinsX Dictionary. Retrieved November 2, 2026, from https://dictionary.watkinsx.com/word/semicoroutine

MLA

“semicoroutine.” WatkinsX Dictionary, https://dictionary.watkinsx.com/word/semicoroutine. Accessed November 2, 2026.

Chicago

WatkinsX Dictionary, s.v. “semicoroutine,” accessed November 2, 2026, https://dictionary.watkinsx.com/word/semicoroutine.

Source: semicoroutine on Wiktionary, CC BY-SA 4.0.