Skip to content

Instantly share code, notes, and snippets.

@PatilShreyas
Last active March 31, 2022 18:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PatilShreyas/20c397209d79d734119bb015a6959ce9 to your computer and use it in GitHub Desktop.
Save PatilShreyas/20c397209d79d734119bb015a6959ce9 to your computer and use it in GitHub Desktop.
+ val dispatcher = Executors.newFixedThreadPool(12).asCoroutineDispatcher()
fun <T, R> Iterable<T>.map(
- dispatcher: CoroutineDispatcher,
transform: (T) -> R
): List<R>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment