beforeSet

open override fun beforeSet(beforeSetFunction: (item: Item<*>, value: Any?) -> Unit): Handler

Subscribe the update event before every set operation.

Return

the handler to cancel this subscription

Parameters

beforeSetFunction

the subscription function

Sources

jvm source
Link copied to clipboard