await_stream

await_stream#

method

ThorCamClient.await_stream(timeout: float = 3.0) bool[source]#

Blocks until the first image is available from the stream.

Parameters:
timeoutfloat

The number of seconds to wait for the first image (default 3).

Returns:
bool

True if an image is available, False otherwise.