Android Coroutine - Coroutine Builder
Coroutine Builder CoroutineScope의 확장함수로 Coroutine을 만드는 역할을 합니다. CoroutineScope(Dispatchers.IO).launch { // do something coroutine } launch() 가장 기본적인 Builder입니다. launch()는 Thread를 Blocking하지 않으며Job이라는 객체를 반환합니다. Job은 cancel(), join() 등 의 함수를 가지고 있습니다. launch의 2번때 매개변수로 CoroutineStart가 주어집니다. CoroutineStart으로 시작 방식을 지정할 수 있습니다. fun CoroutineScope.launch( context: CoroutineContext = EmptyCoroutine..
Android/Coroutine
2022. 1. 7. 23:44
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- isActive
- observable
- ViewModelProvider
- 보이스카우트 규칙
- ConcatAdapter.Config
- git
- Flowable
- Flutter
- 코루틴
- 클린코드
- commit
- CancellationException
- ConcatAdapter
- Coroutine
- viewmodel
- 클린 코드
- TDD
- Exception
- 함수
- ViewModelStoreOwner
- Android
- Widget
- rxjava
- DSL
- clean code
- DART
- null
- 연산자
- Kotlin
- gradle
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함
