Join Slack
Anyone else seen this error when trying to convert a `Flow<T>` to an `Observable<T>`
# coroutines
r
Rob
01/06/2023, 4:28 PM
Anyone else seen this error when trying to convert a
Flow<T>
to an
Observable<T>
Untitled.txt
j
jw
01/06/2023, 4:29 PM
Is your type variable nullable?
jw
01/06/2023, 4:29 PM
okay it's possibly nullable. you need
<T : Any>
r
Rob
01/06/2023, 4:36 PM
Yep that was it. 🤦
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by