Saiedmomen
public inline fun <reified T, R> combine( flows: Iterable<Flow<T>>, crossinline transform: suspend (Array<T>) -> R ): Flow<R> { val flowArray = flows.toList().toTypedArray() return flow { combineInternal( flowArray, arrayFactory = { arrayOfNulls(flowArray.size) }, transform = { emit(transform(it)) }) } }
Lee Taehoon
A modern programming language that makes developers happier.