subscribeResource abstract method

Future<void> subscribeResource(
  1. String uri
)

Subscribe to notifications/resources/updated for uri.

Needed for a UI that shows live device values. Without it a composed screen can read a resource once but never track it, so a "live" reading renders empty forever and nothing says why.

Implementation

Future<void> subscribeResource(String uri);