Tutorial by Topics: coroutines



coroutine.create(function) returns a coroutine (type(coroutine) == 'thread') containing the function. coroutine.resume(co, ...) resume, or start the coroutine. Any additional arguments given to resume are returned from the coroutine.yield() that previously paused the coroutine. If the corou...
public Coroutine StartCoroutine(IEnumerator routine); public Coroutine StartCoroutine(string methodName, object value = null); public void StopCoroutine(string methodName); public void StopCoroutine(IEnumerator routine); public void StopAllCoroutines(); Performance considerations It...
Examples of Kotlin's experimental(yet) implementation of coroutines

Page 1 of 1