SideEffects

@ApiStatus.Experimental
annotation class SideEffects(val values: Array<String> = [], val when: String = "")

An annotation to mark a function or property as having side effects.

Parameters

when condition under which the side effects occur.

values

the side effects that occur.

Properties

Link copied to clipboard
Link copied to clipboard