openrndr / org.openrndr.draw / launch

launch

fun DrawThread.launch(context: CoroutineContext = this.dispatcher, start: CoroutineStart = CoroutineStart.DEFAULT, block: suspend CoroutineScope.() -> Unit): Job

launches a coroutine on the DrawThread