Closed BeatsuDev closed 1 year ago
Now the syntax will be like this:
@home.event("live_measurement") async def prcoess_data(data): print(data.power)
vs previously:
@home.event("live_measurement") def prcoess_data(data): print(data.power)
This allows for all callback functions to be run asynchronously (at the same time) instead of sequentially when multiple callback functions are registered.
Now the syntax will be like this:
vs previously:
This allows for all callback functions to be run asynchronously (at the same time) instead of sequentially when multiple callback functions are registered.