https://kotlinlang.org logo
#reaktive
Title
# reaktive
a

aiidziis

06/29/2020, 12:01 PM
Has anyone tried writing Reaktive extensions for SqlDelight? I saw that they have
coroutines, rxjava2 ,rxjava3
extensions.
a

Arkadii Ivanov

06/29/2020, 1:01 PM
Hey! I'm not aware of any publicly available libs for this. In one of my pet projects I created them locally: https://github.com/arkivanov/Konf/blob/master/shared/database/src/commonMain/kotlin/com/arkivanov/konf/database/ReaktiveExtensions.kt
a

aiidziis

06/29/2020, 1:40 PM
Have you tried using them on iOS as well?
a

Arkadii Ivanov

06/29/2020, 1:50 PM
To be honest no, but unless sqldelight works well in iOS it should be fine.
Just keep in mind the memory model, but this is applicable not only to sqldelight
a

aiidziis

06/29/2020, 1:54 PM
Sure, will try out! Thanks for sharing extensions.
👍 1
a

Arkadii Ivanov

06/29/2020, 2:09 PM
Please share your experience later!
a

aiidziis

06/29/2020, 3:23 PM
works great!
a

Arkadii Ivanov

06/29/2020, 3:35 PM
Amazing!
5 Views