일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- java
- 안드로이드
- Android
- monotone stack
- app-distribution
- withContext
- coldStream
- Advanced LCA
- 백준2309
- cancellationException
- TOSS 과제
- Next Challenge
- hotStream
- 릴리즈 키해시
- Flow
- Product Flavor
- conflate
- Kotlin
- KAKAO
- ShapeableImageView
- coroutine
- google play console
- coroutinecontext
- SDUI
- collectLatest
- Algorithm
- 백준
- coroutinescope
- ServerDrivenUI
- flowon
Archives
- Today
- Total
목록coroutinecontext (1)
루피도 코딩한다
[Coroutine Basics 6] Structured Concurrency, CoroutineScope, CoroutineContext
1. Structured Concorrency Coroutine은 비동기 작업을 효과적으로 다루기 위해 사용되는데, 이를 구조화된(concurrent) 방식으로 관리하는 것이 중요하다. 이전 포스트에서 Coroutine Job의 Life Cycle에 대해 살펴보았다. Life Cycle 값들을 살펴보면 Completed 전에 Completing 상태를 거치는것을 확인할 수 있다. Completing 상태에서 해당 코루틴은 자식 코루틴의 상태를 처리한다. 자식 코루틴이 모두 완료될 때까지 기다리거나, 자식 코루틴에서 예외가 발생한 경우 다른 자식들에게 취소 요청을 보내는 등의 작업을 한다. wait children +-----+ start +--------+ complete +-------------+ f..
Coroutine
2024. 1. 22. 21:59