Pinned Loading
-
ShareWithCompletionIn.kt
ShareWithCompletionIn.kt 1/**
2* Make original flow a SharedFlow, unlike normal shareIn(), this operator will cancel collecting when upstream is completed.
3* This operator only works with flows with non-null values, since we use null as a materialized completion signal.
4*/
5@Suppress("UNCHECKED_CAST")
-
A script to that let you override bu...
A script to that let you override build.gradle using local.properties. Put into ~/.gradle/init.d/, and write something like `override.android.buildTypes.debug.minifyEnabled=false` 1ext.OVERRIDE_PREFIX = "override."
2ext.skipRootProject = false
3ext.rootOverridingProps = new HashMap<String, String>()
45projectsLoaded {
-
A crappy implementation to collect f...
A crappy implementation to collect flow with an Iterator like interface. Might break some contracts, fail at some edge cases. Use with care. 12import kotlinx.coroutines.flow.Flow
3import kotlinx.coroutines.flow.FlowCollector
4import java.lang.Exception
5import kotlin.coroutines.Continuation
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.