ifm3dpy.FrameAwaitable

class ifm3dpy.FrameAwaitable

Bases: None

Provides a mechanism to access the frame object

__init__(self: ifm3dpy.FrameAwaitable) None

Provides a mechanism to access the frame object

Methods

__init__(self)

Provides a mechanism to access the frame object

wait(self)

Blocks until the result becomes available.

wait_for(self, timeout_ms)

Blocks until specified timeout runs out or the result to becomes available.

wait(self) Frame

Blocks until the result becomes available.

wait_for(self, timeout_ms: int) Tuple[bool, Frame]

Blocks until specified timeout runs out or the result to becomes available.

Returns

a tuple (True, Result) if a result was received within the timeout, (False, None) otherwise.