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)[source]#

Bases: AsyncStatusBase

Methods

add_callback

exception

wrap

Wrap an async function in an AsyncStatus.

Attributes

classmethod wrap(f: Callable[[P], Awaitable]) Callable[[P], AS][source]#

Wrap an async function in an AsyncStatus.

add_callback(callback: Callable[[Status], None])#
property done: bool#
exception(timeout: float | None = 0.0) BaseException | None#
property success: bool#