dimsuz
05/07/2020, 4:33 PMinterface Props {
fun payload(): Flow<MyPayload>
}
Last time I tried it there were problems a) with the fact that Flow<T> is a generic type b) no Flow accessible in Kotlin/Native.
If not, what's the best thing I could do to get something similar working?aiidziis
05/07/2020, 4:35 PMinterface Props {
fun payload(completion: (MyPaylod) -> Unit)
}
dimsuz
05/07/2020, 4:36 PMaiidziis
05/07/2020, 4:38 PMDerek Ellis
05/07/2020, 4:47 PMdimsuz
05/07/2020, 10:58 PM