The operations related to coroutines comprise a sub-library of the basic library and come inside the table coroutine See Coroutines for a general description of coroutines.


Subsections

  1. coroutine.create (f)
  2. coroutine.resume (co [, val1, ...])
  3. coroutine.running ()
  4. coroutine.status (co)
  5. coroutine.wrap (f)
  6. coroutine.yield (...)