{"id":15525133,"url":"https://github.com/domnikl/kotlin-coroutine-examples","last_synced_at":"2025-06-16T12:36:24.305Z","repository":{"id":144773165,"uuid":"205096159","full_name":"domnikl/kotlin-coroutine-examples","owner":"domnikl","description":"Examples using Kotlin coroutines","archived":false,"fork":false,"pushed_at":"2023-08-23T11:41:29.000Z","size":227,"stargazers_count":3,"open_issues_count":4,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-08T08:04:15.352Z","etag":null,"topics":["asynchronous-programming","concurrent-programming","coroutines","kotlin"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/domnikl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-29T06:30:25.000Z","updated_at":"2025-05-04T21:24:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"e3f89f7c-775b-4daa-9604-b5744a80f545","html_url":"https://github.com/domnikl/kotlin-coroutine-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/domnikl/kotlin-coroutine-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domnikl%2Fkotlin-coroutine-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domnikl%2Fkotlin-coroutine-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domnikl%2Fkotlin-coroutine-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domnikl%2Fkotlin-coroutine-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/domnikl","download_url":"https://codeload.github.com/domnikl/kotlin-coroutine-examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domnikl%2Fkotlin-coroutine-examples/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260163044,"owners_count":22968181,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asynchronous-programming","concurrent-programming","coroutines","kotlin"],"created_at":"2024-10-02T10:54:58.615Z","updated_at":"2025-06-16T12:36:24.246Z","avatar_url":"https://github.com/domnikl.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kotlin coroutine examples\n\nIt attempts to explain various use-cases around coroutines in simple terms to explain them.\n\n1. [concurrency](src/main/kotlin/concurrency.kt): run multiple coroutines concurrently\n1. [yield](src/main/kotlin/yield.kt): using `yield()` to yield dispatcher to other coroutines\n1. [default dispatcher](src/main/kotlin/default_dispatcher.kt): using `Dispatchers.Default` to run coroutines in parallel\n1. [Thread pool](src/main/kotlin/thread_pool.kt): using a fixed Thread pool for coroutines\n1. [async](src/main/kotlin/async.kt): `async()` and `await()`\n1. [launch and exceptions](src/main/kotlin/launch_and_exceptions.kt): how to handle exceptions in coroutines\n1. [async and exceptions](src/main/kotlin/async_and_exceptions.kt): exceptions in `async()` coroutines\n1. [produce](src/main/kotlin/produce.kt): how to produce values and use `ReceiveChannel`\n1. [actors](src/main/kotlin/actors.kt): how to use actors in Kotlin\n1. [flow](src/main/kotlin/flow.kt): uing `Flow` to build sequential streams of events\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomnikl%2Fkotlin-coroutine-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdomnikl%2Fkotlin-coroutine-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomnikl%2Fkotlin-coroutine-examples/lists"}