안드로이드 Kotlin Coroutines 정리 Part 3
2019. 4. 2.
Channels ( experimental ) 지연된 값은 코루틴간에 단일 값을 전송하는 편리한 방법을 제공합니다. Channels는 값의 흐름을 전송하는 방법을 제공합니다. Channels are an experimental feature of kotlinx.coroutines. Their API is expected to evolve in the upcoming updates of the kotlinx.coroutines library with potentially breaking changes. Channel basics Channel 은 개념적으로 BlockingQueue 와 매우 유사합니다. 한가지 중요한 차이점은 blocking put 연산 대신에 suspending send, 그리고 bloc..