L2SS-1966: Add mutex around state commands in AsyncDevice
- Refactors device_decorators to work around both sync and async functions.
- Moves
log_exceptions
fromlofar_logging
todevice_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/release
call onasyncio.Lock
withasync with
.
Closes L2SS-1966
Edited by Jan David Mol