astarte-platform / astarte-device-sdk-rust

Apache License 2.0
6 stars 12 forks source link

Implement the ability to add multiple interfaces #291

Closed joshuachp closed 7 months ago

joshuachp commented 7 months ago

Currently, to add multiple interfaces you have to call add_interface for each one.

This has the disadvantage that the introspection is re-sent for each one.

We need to introduce a method to add multiple interfaces at once.