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 |
Tags
- 옵저버 패턴
- compose
- kmp
- Functional Programming
- Abstract Factory
- 빌터패턴
- Design Pattern
- define
- designPattern
- factory method
- 프로토타입 패턴
- 코틀린
- 추상팩토리패턴
- Kotlin
- 팩토리 메소드
- 코루틴
- 함수형프로그래밍
- Coroutines
- PrototypePattern
- 디자인패턴 #
- 디자인패턴
- 안드로이드 디자인시스템
- 추상 팩토리
- Observer Pattern
- kotlin multiplatform
- builderPattern
- android designsystem
- ㅋㅁ
- material3
- 코틀린멀티플랫폼
Archives
- Today
- Total
목록2026/02/18 (1)
오늘도 더 나은 코드를 작성하였습니까?
11장 코루틴 스코프 함수 - 1
여러개의 엔드포인트에서 동시에 데이터를 얻어야하는 중단함수.suspend fun getUserProfile(): UserProfileData { val user = getUserData() val notifications = getNotifications() return UserProfileData( user = user, notifications = notifications )} 동시에 사용자 데이터와 노티정보를 가져오려면 async{ ... } 빌더를 이용해야 한다.async => Coroutinescope를 필요로 한다. 1. GlobalScope (하면안됨)suspend fun getUserProfile(): UserProfileData { ..
Coroutine/코틀린 코루틴
2026. 2. 18. 21:46
