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().

  • Context manager
  • Co-routines created from the scripts with variable parameter structure.
  • Strings
  • Registered global functions
  • Handling the variable argument type
  • Passing arguments to script functions