AngelScript
Co-routines

Path: /sdk/samples/coroutine/

This sample shows how co-routines can be implemented with AngelScript. Co-routines are threads that can be created from the scripts, and that work together by voluntarily passing control to each other by calling yield().