pymodbus-dev / pymodbus

A full modbus protocol written in python
Other
2.16k stars 889 forks source link

modbus_server: execute to handle message execute to be coroutine or method #2139

Closed ilkka-ollakka closed 3 months ago

ilkka-ollakka commented 3 months ago

Split from https://github.com/pymodbus-dev/pymodbus/pull/2127

execute() is used as callback, so we don't change it to async, but we use it to create async_task that can handle async calls