coroutines vocabulary
Factor handbook > Vocabulary index


Summary
Coroutines implementation

Meta-data
Tags:extensions
Authors:Chris Double, Clemens F. Hofreither, James Cash


Words

Tuple classes
ClassSuperclassSlots
coroutine tupleresumecc exitcc originalcc


Symbol words
current-coro


Ordinary words
WordStack effect
*coresume( co -- result )
*coyield( -- v )
cocreate( quot -- co )
coreset( v -- )
coresume( v co -- result )
coresume*( v co -- )
coterminate( v -- )
coyield( v -- result )
coyield*( v -- )


Class predicate words
WordStack effect
coroutine?( object -- ? )


Files