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
Typically you want properties to be read-only on the bus but settable from the service process itself. When you do set them manually, you need to write a bit of a complicated code:
It would be great if allowed adding a non-exposed setter in interface that sets the value and each time it's called, it handles the signal emission for you. So the property setting code above becomes:
let iface_ref = connection
.object_server().interface::<_,MyIface>(path).await?
.set_count(42)?;
The text was updated successfully, but these errors were encountered:
Typically you want properties to be read-only on the bus but settable from the service process itself. When you do set them manually, you need to write a bit of a complicated code:
It would be great if allowed adding a non-exposed setter in interface that sets the value and each time it's called, it handles the signal emission for you. So the property setting code above becomes:
The text was updated successfully, but these errors were encountered: