GlobalScope in Kotlin Coroutines: Is It Really Worth the Risk?
2024-3-18 01:46:37 Author: hackernoon.com(查看原文) 阅读量:10 收藏

Hackernoon logo

GlobalScope in Kotlin Coroutines: Is It Really Worth the Risk? by@jesperancinha

Too Long; Didn't Read

The `GlobalScope` is a kind of scope in the world of `Kotlin` coroutines that challenges a lot of developers. Many say that it is not useful and it was probably a bad idea to introduce it in the standard library any ways. The reason for this seems to stem of of the fact that we cannot tie the `Global Scope` created cor outines with any specific lifecycle. In the video, to which you can find the link bellow, I am casually talking about that while walking in Gouda.

featured image - GlobalScope in Kotlin Coroutines: Is It Really Worth the Risk?

João Esperancinha HackerNoon profile picture


@jesperancinha

João Esperancinha


Software Engineer for 10+ Years, OCP11, Spring Professional 2020 and a Kong Champion


Receive Stories from @jesperancinha


Credibility

react to story with heart

RELATED STORIES

Article Thumbnail

Article Thumbnail

Article Thumbnail

Article Thumbnail

L O A D I N G
. . . comments & more!


文章来源: https://hackernoon.com/globalscope-in-kotlin-coroutines-is-it-really-worth-the-risk?source=rss
如有侵权请联系:admin#unsafe.sh