본문 바로가기 메뉴 바로가기

taetae98

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

taetae98

검색하기 폼
  • 분류 전체보기 (58)
    • Android (31)
      • Widget (4)
      • Lifecycle (4)
      • Coroutine (9)
      • RxJava (8)
      • Gradle (4)
    • Flutter (6)
      • Dart (6)
    • CS (17)
      • Clean Code (17)
    • Git (4)
  • 방명록

Exposed (1)
Android Coroutine - Exception

Exception Coroutine에서 기본적으로 Exception 처리 방식은 전달(Propagation)과 노출(Expose)가 있습니다. launch나 actor같은 빌더는 예외가 부모 Coroutine으로 전달되고, async나 produce같은 빌더는 결과 값을 사용할 때 Exception이 노출됩니다. import kotlinx.coroutines.* @OptIn(DelicateCoroutinesApi::class) fun main() = runBlocking { val job = GlobalScope.launch { // root coroutine with launch println("Throwing exception from launch") throw IndexOutOfBoundsExcep..

Android/Coroutine 2022. 1. 16. 03:58
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • Flutter
  • 클린코드
  • commit
  • Widget
  • gradle
  • DART
  • DSL
  • TDD
  • observable
  • CancellationException
  • rxjava
  • 보이스카우트 규칙
  • ViewModelProvider
  • 연산자
  • viewmodel
  • 코루틴
  • null
  • clean code
  • Kotlin
  • ViewModelStoreOwner
  • git
  • ConcatAdapter.Config
  • ConcatAdapter
  • isActive
  • Exception
  • Android
  • 함수
  • Coroutine
  • Flowable
  • 클린 코드
more
«   2026/02   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바