https://kotlinlang.org logo
#android
Title
# android
s

Susheel

04/06/2021, 4:41 PM
is Kotlin copy function synchronous (blocking)? I think it is but wanted to make sure.
z

Zach Klippenstein (he/him) [MOD]

04/06/2021, 4:49 PM
Which copy function?
s

Susheel

04/06/2021, 4:56 PM
Sorry the one for Data class
z

Zach Klippenstein (he/him) [MOD]

04/06/2021, 5:07 PM
Yes that’s synchronous
Any function that isn’t a suspend function is synchronous, generally
s

Susheel

04/06/2021, 5:21 PM
thank you.