Hi folks! I just want to share with you one soluti...
# multiplatform
s
Hi folks! I just want to share with you one solution to wrap callback based libraries, like
Firebase
, take a look and please, if you know a better way to do that, please, share! https://gist.github.com/sergiocasero/eca986497c2025d703074cc995ed3618
👍 1
k
I don’t have a concise explanation of what we did, but had to solve similar problems here: https://github.com/touchlab/FirestoreKMP. The threading and callbacks is a particular issue. Had to keep callbacks isolated to the main thread to avoid freezing and such, but it’s been a little while so I’d need to refresh my own memory to discuss more
s
I’ll take a look too