| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 31 |
Tags
- conflate
- hotStream
- Advanced LCA
- monotone stack
- coroutinescope
- app-distribution
- 백준
- withContext
- Android
- Next Challenge
- KAKAO
- flowon
- SDUI
- Flow
- google play console
- ServerDrivenUI
- Product Flavor
- 백준2309
- collectLatest
- 릴리즈 키해시
- 안드로이드
- Algorithm
- ShapeableImageView
- coroutine
- java
- coroutinecontext
- coldStream
- TOSS 과제
- cancellationException
- Kotlin
Archives
- Today
- Total
목록cancellationException (1)
루피도 코딩한다
[Coroutine Basics 4] Coroutine Cacelation
코루틴 취소를 왜하냐? 필요하지 않은 코루틴을 적절히 취소해 컴퓨터 자원을 아낄 수 있다 코루틴 취소 하는 방법 == CancellationException 발생 Kotlin 공식문서의 말을 빌리자면 *' A coroutine code has to cooperate to be cancellable' *라고 한다. Cancellable 하다라는 것은 코루틴 블록 내부에서 CancellationException 이 발생가능한 구조여야 한다는 것이다. CancellationException이 발생되는 방법은 아래와 같이 두가지가 있다. [취소 방법 1] kotlinx.coroutines의 suspending function을 활용하자 kotlinx.coroutines의 suspending 함수들은 'cance..
Coroutine
2024. 1. 19. 16:44