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.AsyncStatus#

class ophyd_async.core.AsyncStatus(awaitable: Awaitable, timeout: SupportsFloat | None = None)[source]#

Bases: AsyncStatusBase

Methods

add_callback

exception

wrap

Attributes

done

success

classmethod wrap(f: Callable[[P], Awaitable]) Callable[[P], AS][source]#
add_callback(callback: Callable[[Status], None])#
property done: bool#
exception(timeout: float | None = 0.0) BaseException | None#
property success: bool#