Device
Devices are ophyd-async devices.
Import Device, StandardReadable, StandardDetector, the signal types and
DeviceMap from ophyd_async.core; see
Devices.
redsun.device adds one protocol on top of that.
Bases: Protocol
Protocol for devices that support asynchronous shutdown.
Source code in src/redsun/device/protocols.py
| @runtime_checkable
class HasAsyncShutdown(Protocol):
"""Protocol for devices that support asynchronous shutdown."""
async def shutdown(self) -> None:
"""Asynchronously shutdown the device."""
...
|
shutdown
async
Asynchronously shutdown the device.
Source code in src/redsun/device/protocols.py
| async def shutdown(self) -> None:
"""Asynchronously shutdown the device."""
...
|