beforeSet

fun beforeSet(beforeSetFunction: (config: Config, T) -> Unit): Handler

Subscribe the update event of this item before every set operation.

Return

the handler to cancel this subscription

Parameters

beforeSetFunction

the subscription function

Sources

jvm source
Link copied to clipboard