Closed chriso closed 7 months ago
The SDK provides a gather function to concurrently run coroutines and collect their results. It returns as soon as all results are available, and raises if any coroutine raises.
gather
This PR introduces all, any and race which cover more concurrency use cases. See https://github.com/stealthrocket/dispatch-py/issues/88 for more information.
all
any
race
This fixes https://github.com/stealthrocket/dispatch-py/issues/88.
The SDK provides a
gather
function to concurrently run coroutines and collect their results. It returns as soon as all results are available, and raises if any coroutine raises.This PR introduces
all
,any
andrace
which cover more concurrency use cases. See https://github.com/stealthrocket/dispatch-py/issues/88 for more information.This fixes https://github.com/stealthrocket/dispatch-py/issues/88.