我们目前如何从 swift收集流量?
随着对Swift流方法中对 Kotlin 的挂起函数的新支持,collect
在 swift 中获得了这个相当笨拙的签名
vm.topStoriesFlow.collect(
collector: Kotlinx_coroutines_coreFlowCollector,
completionHandler: @escaping (KotlinUnit?, Error?) -> Void
)
知道如何使用它,或者即使当前支持它的使用?
我们目前如何从 swift收集流量?
随着对Swift流方法中对 Kotlin 的挂起函数的新支持,collect
在 swift 中获得了这个相当笨拙的签名
vm.topStoriesFlow.collect(
collector: Kotlinx_coroutines_coreFlowCollector,
completionHandler: @escaping (KotlinUnit?, Error?) -> Void
)
知道如何使用它,或者即使当前支持它的使用?