diff --git a/gatabuta-livedata/src/main/java/dohun/kim/gatabuta/gatabuta_livedata/getOrAwaitValue.kt b/gatabuta-livedata/src/main/java/dohun/kim/gatabuta/gatabuta_livedata/getOrAwaitValue.kt index a8684c0..82c7e85 100644 --- a/gatabuta-livedata/src/main/java/dohun/kim/gatabuta/gatabuta_livedata/getOrAwaitValue.kt +++ b/gatabuta-livedata/src/main/java/dohun/kim/gatabuta/gatabuta_livedata/getOrAwaitValue.kt @@ -14,7 +14,7 @@ import kotlinx.coroutines.withTimeout */ internal suspend fun LiveData.getOrAwaitValue(): T? = try { - withTimeout(500) { + withTimeout(200) { this@getOrAwaitValue.asFlow().first() } } catch (e: TimeoutCancellationException) {