You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val handler =Account.maxRetry.onSet { value ->println("the maxRetry has changed to $value") }
val handler2 =Account.maxRetry.beforeSet { config, value ->println("the maxRetry will change to $value") }
val handler3 = config.beforeSet { item, value ->println("${item.name} will change to $value") }
val maxRetry by config.property(Account.maxRetry)
println(maxRetry)
config.lazySet(Account.maxRetry) { 4 }
println(maxRetry)
config[Account.maxRetry] =6println(maxRetry)
3
4
the maxRetry has changed to 6
the maxRetry will change to 6
maxRetry will change to 6
6
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 30 days if no further activity occurs, but feel free to re-open a closed issue if needed.
The text was updated successfully, but these errors were encountered: