coroutines vocabulary
Factor handbook ยป Vocabulary index


Summary
Coroutines implementation

Metadata
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


Metadata files