{"id":21387234,"url":"https://github.com/devopsthinh/kotlin-coroutines","last_synced_at":"2025-09-12T19:34:37.767Z","repository":{"id":110399303,"uuid":"461873275","full_name":"DevOpsThinh/Kotlin-Coroutines","owner":"DevOpsThinh","description":"Kotlin offers a nice feature known as coroutine - a high-level framework, to perform anything asynchronously, coordinate tasks behind the scenes. It will make the developer's life easier. Code readability, conciseness, and easier thread management.","archived":false,"fork":false,"pushed_at":"2022-07-13T15:41:28.000Z","size":292,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-23T00:13:40.977Z","etag":null,"topics":["anko-coroutine","async-await","asynchronous","coroutines","coroutines-android","coroutines-channels","coroutines-flow","kotlin-coroutines"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DevOpsThinh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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":"2022-02-21T13:26:45.000Z","updated_at":"2025-01-09T03:34:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"c07990a3-80b6-4276-b87b-73963d6d5da5","html_url":"https://github.com/DevOpsThinh/Kotlin-Coroutines","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevOpsThinh%2FKotlin-Coroutines","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevOpsThinh%2FKotlin-Coroutines/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevOpsThinh%2FKotlin-Coroutines/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevOpsThinh%2FKotlin-Coroutines/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevOpsThinh","download_url":"https://codeload.github.com/DevOpsThinh/Kotlin-Coroutines/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243865495,"owners_count":20360451,"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":["anko-coroutine","async-await","asynchronous","coroutines","coroutines-android","coroutines-channels","coroutines-flow","kotlin-coroutines"],"created_at":"2024-11-22T12:12:16.038Z","updated_at":"2025-03-16T12:20:45.514Z","avatar_url":"https://github.com/DevOpsThinh.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cstrong\u003e\u003cem\u003eThanks for your reading, please give me a STAR!\u003cem\u003e\u003cstrong\u003e\n####  \"It is far easier to design a class to be thread-safe than to retrofit it for thread safety later.\"\u003cbr\u003e\n(Brian Goetz - Java concurrency: Publisher: Addison-Wesley Professional, Year: 2006; 2013)\u003cbr\u003e\u003cbr\u003e\n\u003cimg src=\"img/coroutine.png\" height=\"320\" /\u003e\n\u003cbr\u003e\n### Coroutine\u003cbr\u003e\nA coroutine is Kotlin's way of tackling asynchronous operations, multi-threaded programming\u003cbr\u003e\nor manging concurrency.\u003cbr\u003e\nAccording to Coroutine Team, Java threads have below problems:\n- Context switching for thread can be a costly operation;\n- Various the various OS does restrict the number of threads created by per app. They can\u003cbr\u003e\n  be infinite;\n- There are still a few platforms that do not support threads (JavaScript);\n- It's always difficult to debug threads;\n- Dealing with race conditions can be a nightmare.\n#### =\u003e Coroutine has answered all the above problems \u0026 it also runs in parallel.\n\n### Used Software Info:\nKotlin v1.6, IntelliJ IDEA Education Edition, JDK 1.8\n\n### References\n- ##### https://github.com/Kotlin/kotlinx.coroutines\n- Anko-Coroutines: https://github.com/Kotlin/anko/wiki/Anko-Coroutines\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevopsthinh%2Fkotlin-coroutines","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevopsthinh%2Fkotlin-coroutines","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevopsthinh%2Fkotlin-coroutines/lists"}