observeKeyValueAsFlow
fun <T> <Error class: unknown class>.observeKeyValueAsFlow(keyPath: String, options: <Error class: unknown class> = NSKeyValueObservingOptionNew): <Error class: unknown class><T>
Starts observing the value of a property using Key-Value observation and returns any updates in a Flow
Return
Parameters
T
the type of the property to be observed
keyPath
the key path, relative to the object receiving this message, of the property to observe.
options
A combination of the NSKeyValueObservingOptions values that specifies what is included in observation notifications.