I want to implement an asynchronous interface: a function in .py will get called when my IO driver receives a message.
Is there an example how to accomplish this?
The .py code would look like this:
Code: Select all
def myfunc():
...
myIO = IO.callback(myfunc)