theme: apple-basic
layout: intro
highlighter: shiki
lineNumbers: true
Iterator
val flow : Flow<Int> = flow {
for (i in 1..10){
delay(100)
emit(i)
}
}
Coroutine Scope
Operator
Android Dependency
CoroutineScope 안에서 동작SharedFlow
StateFlow
fun <T> Flow<T>.stateIn(scope: CoroutineScope, started: SharingStarted, initialValue: T): StateFlow<T>