kotlin-homie / org.homieiot / Property / subscribe

subscribe

abstract fun subscribe(update: (PropertyUpdate<T>) -> Unit): Unit

Called when the controller sends a property update

Parameters

update - Update received from controller