And another question that might be really, really ...
# swift-export
n
And another question that might be really, really facepalm-stupid; but how does swiftExport handle suspend/Flow? It's kind of a blocker if it doesn't support it, and reading on kotlinlang it's never stated 🤷‍♂️
h
Just read the last sentence of the docs.
n
I skipped exactly that sentance... 🤦 Thank you
Do you happen to know the most common work around when using swiftExport? Do you have to avoid suspend/Flow, "just handle it on iOS side", or is there some wrapper pattern?
a
how does swiftExport handle suspend/Flow
It doesn't 🙂 We do not support those yet.
the most common work around when using swiftExport
There is none, as the technology is experimental and was released less then a month ago 🙂
👍 1
Do you have to avoid suspend/Flow
If your public API depends on those - I would recommend using Objective-C export with KMP-NativeCoroutines or SKIE , as we do not have a public timeline for that support in Swift Export (except that this is the feature we are currently working on).