pi_portal.modules.python.futures.wait_cm

pi_portal.modules.python.futures.wait_cm(future: Future) Any[source]

Wait for a future to finish.

Parameters:

future (Future) – The Future to await.

Yields:

The future being awaited.

Returns:

The awaited future’s result.

Return type:

Any