Chad Lung
05/15/2023, 10:49 PMTopic:
Looking for guidance on building a Kotlin Multiplatform SDKChad Lung
05/15/2023, 10:49 PMKevin S
05/16/2023, 7:36 PMmbonnin
05/17/2023, 12:28 PM.close()
method in your SDK to free all resources:
val mySdk = createSdk()
mySdk.getUser(): User
mySdk.postStuff(stuff)
// later on
mySdk.close()
mbonnin
05/17/2023, 12:29 PMmbonnin
05/17/2023, 12:30 PMFlow<User>
(or Flow of any other class you define is good)mbonnin
05/17/2023, 12:31 PMFlow
work too but it's a bit harder to call so either add Swift helpers or extra docKevin S
05/17/2023, 1:25 PMChad Lung
05/17/2023, 1:57 PM