Bruno_02/14/2020, 9:27 AM
docs of published contains:
// exposed as public @PublishedApi internal fun timer(name: String?, daemon: Boolean) = if (name == null) Timer(daemon) else Timer(name, daemon)
the question is: since it's internal why should I care about not making breaking changes to the declaration? It's just there for the purpose of chopping up big public inline functions, no? so published internal inline fun is like a private fun in class, right?
When applied to a class or a member with internal visibility allows to use it from public inline functions and makes it effectively public.
Dico02/14/2020, 9:31 AM
Bruno_02/14/2020, 10:23 AM
call it because the call in a public inline fun is effectively replaced by the code but still it's not like
ilya.gorbunov02/14/2020, 10:58 PM
when calling public
Dico02/14/2020, 11:30 PM