-
Notifications
You must be signed in to change notification settings - Fork 6
coroutines
Henk van Cann edited this page Sep 21, 2023
·
2 revisions
Computer programs that can be suspended and resumed at will.
Coroutines are computer program components that generalize subroutines for non-preemptive multitasking, by allowing execution to be suspended and resumed. Coroutines are well-suited for implementing familiar program components such as cooperative tasks, exceptions, event loops, iterators, infinite lists and pipes.
More on source Wikipedia