Note
Ophyd async is included on a provisional basis until the v1.0 release and may change API on minor release numbers before then
ophyd_async.core.WatchableAsyncStatus#
- class ophyd_async.core.WatchableAsyncStatus(iterator: AsyncIterator[WatcherUpdate[T]])[source]#
Bases:
AsyncStatusBase
,Generic
[T
]Convert AsyncIterator of WatcherUpdates to bluesky Status interface.
Methods
Wrap an AsyncIterator in a WatchableAsyncStatus.
Attributes
- classmethod wrap(f: Callable[[P], AsyncIterator[WatcherUpdate[T]]]) Callable[[P], WAS] [source]#
Wrap an AsyncIterator in a WatchableAsyncStatus.
- exception(timeout: float | None = 0.0) BaseException | None #