Pico-8 API Documentation
Coroutines
Coroutines
Coroutines
| function | description |
|---|---|
cocreate(f) | returns a coroutine that executes f |
coresume(c) | resume coroutine c execution |
costatus(c) | returns true if c is still executing, false otherwise |
yield() | use inside a coroutine; makes a coroutine pause execution until next resume |