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

Ayla

12/05/2023, 11:19 AM
Hello, is it possible to implement the
expect
declaration only for some platforms? For example, I declared thread-related
expect
declarations in the common sourceSet, but these concepts do not exist in js, and I will not use these expect declarations in the js sourceSet, so is there a way to skip the implementation for the js platform?
e

ephemient

12/05/2023, 11:46 AM
not in common, no. but in another parent sourceset that doesn't include js, yes
thank you color 1
2 Views