Middle — Senior
Combine requests from different screens and send the result to subscribers
livecode
Task condition
Create an implementation of the CommandExecutor interface that accepts a URL (string) and returns the result through a provided lambda function. It is necessary to build a mechanism that groups identical requests into one and delivers the obtained response to all subscribers. This approach should be used to obtain the battery level of a Bluetooth device, requested from multiple screens.