Method decorator that triggers an API fetch before executing the decorated method.
The original method to wrap.
Decorator context provided by the runtime.
A wrapper that fetches devices before calling the original method.
Method decorator that triggers an API fetch before executing the decorated method.