Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 백준
- Android Compose Navigation
- runCatching
- android compose orbit
- 힐트
- 안드로이드 커스텀 뷰
- hilt
- Sticky Header RecyclerView
- Android Compose
- 스레드 vs 코루틴
- Coroutine
- Kotlin Serialization
- power menu 라이브러리
- power menu
- BOJ
- 백준 2615
- viewmodel
- 코틀린 에러 핸들링
- Hilt 에러
- 안드로이드 컴포즈
- 코루틴 공식 문서
- RecyclerView Sticky Header
- Thread vs Coroutine
- 코루틴
- 코루틴 공식문서
- Unsupported metadata version. Check that your Kotlin version is >= 1.0: java.lang.IllegalStateException
- 안드로이드 무한 스크롤
- AAC ViewModel
- android orbit
- Android Custom View
Archives
- Today
- Total
목록코루틴 공식 문서 (1)
Beeeam

https://kotlinlang.org/docs/flow.html Asynchronous Flow | Kotlin kotlinlang.org Buffering 오래 걸리는 비동기 작업이 관련된 플로우의 경우 해당 플로우의 로직을 다른 코루틴에서 실행하는 것이 플로우 수집에 걸리는 전체 시간의 관점에서 도움이 된다. 예를 들어 방출하는데 100ms가 걸리고 플로우의 각 요소를 수집하는데 300ms씩 걸린다고 하자 fun simple(): Flow = flow { for (i in 1..3) { delay(100) emit(i) } } fun main() = runBlocking { val time = measureTimeMillis { simple().collect { value -> delay(300)..
Kotlin
2023. 4. 13. 22:51