shared

expect inline fun <T> shared(value: T): ReadWriteProperty<Any, T>

Allows to create mutate property with frozen value. Please note that any assigned value will be frozen.

Usage:

var myCounter by shared(0)
actual inline fun <T> shared(value: T): ReadWriteProperty<Any, T>

Allows to create mutate property with frozen value. Please note that any assigned value will be frozen.

Usage:

var myCounter by shared(0)
actual inline fun <T> shared(value: T): ReadWriteProperty<Any, T>

Allows to create mutate property with frozen value. Please note that any assigned value will be frozen.

Usage:

var myCounter by shared(0)