newAsyncContext

fun newAsyncContext(threads: Int, threadName: String = "AsyncExecutor-Thread"): AsyncExecutorDispatcher

Creates a new AsyncExecutorDispatcher wrapping around an AsyncExecutor with the chosen amount of threads to execute tasks asynchronously outside of the main rendering thread.

AsyncExecutor threads will be named according to the threadName pattern.