Join Slack
Powered by
what is the difference between these two annotatio...
# getting-started
d
Daniele B
08/28/2020, 8:21 PM
what is the difference between these two annotations? @OptIn(ExperimentalCoroutinesApi::*class*) @ExperimentalCoroutinesApi
e
ephemient
08/28/2020, 8:26 PM
@ExperimentalCoroutinesApi
(and other
@RequiresOptIn
annotations) propagates to callers,
@OptIn
doesn't
ephemient
08/28/2020, 8:26 PM
https://kotlinlang.org/docs/reference/opt-in-requirements.html
d
Daniele B
08/28/2020, 8:33 PM
thanks!
12
Views
Open in Slack
Previous
Next