L2SS-1966: Add mutex around state commands in AsyncDevice
- Refactors device_decorators to work around both sync and async functions.
- Moves
log_exceptionsfromlofar_loggingtodevice_decorators. - Cleaned up decorators & call chain for
On()/_On()/configure_for_on()et al. - Add mutex guard around the main comands for AsyncDevice.
- Replaced incidental
acquire/releasecall onasyncio.Lockwithasync with.
Closes L2SS-1966
Edited by Jan David Mol