This PR adds callbacks to notify when exceptions are raised in the PDO process data thread.
Fixes # INGM-402
Type of change
[x] Add PDO exception observers.
[x] Add methods to pause and resume the PDO thread.
Tests
[x] Add new unit tests if it applies.
[x] Run tests.
Please describe the tests that you ran to verify your changes if it applies.
Documentation
Please update the documentation.
[x] Update docstrings of every function, method or class that change.
[x] USe type hints for every function and argument.
[x] Build documentation locally to verify changes.
[x] Add the changes at the [Unreleased] section of the CHANGELOG.
Code formatting
[x] Use black package to format the code: black -l 100 ingeniamotion tests. It is recommended to configure the code editor to automatically format the code using black with a max length line of 100.
Add PDO exception observers
Description
This PR adds callbacks to notify when exceptions are raised in the PDO process data thread.
Fixes # INGM-402
Type of change
Tests
Please describe the tests that you ran to verify your changes if it applies.
Documentation
Please update the documentation.
[Unreleased]
section of the CHANGELOG.Code formatting
black -l 100 ingeniamotion tests
. It is recommended to configure the code editor to automatically format the code using black with a max length line of 100.