Callback fn capability + timeout + signalling + better type hinting
Please use >v1.4.0
- One can now define a callback function when registering a command. These can be plain functions or Flask/blinker signals to enable reactive/event-based programming.
- A timeout has been added when invoking commands. This attribute can be passed in the JSON request body. Default value is
3600seconds. - Added
returncodeattribute to response JSON.
Note: Please see Examples section for the relevant code in such use-cases.
- under-the-hood improvements (decreased the memory footprint of the extension to very low value)
- Added type-hinting in almost all places in the source code.