auromat.util.coroutine module¶
-
auromat.util.coroutine.
broadcast
(iterable, *targets)[source]¶ Sends items to multiple coroutines.
If one coroutine raises an exception, then all other coroutines are killed as well and the exception is re-raised to the caller.
Parameters: - iterable – the items to send to the coroutines
- targets – coroutines to send iterables to