Hello!
asyncio's own gather is a bit of a dated design but still pretty common, at least in codebases I'm dealing with at the moment—converting them to amap would be nice but it would also be dead useful to be able to drop-in replace with an aiometer.gather in a like-for-like fashion to add metering separately.
It's not impossible to shim on top of amap but would it be something you'd consider bringing into scope in the library itself? Especially since the exception handling semantics of gather can be a bit subtle.
Hello!
asyncio's own
gatheris a bit of a dated design but still pretty common, at least in codebases I'm dealing with at the moment—converting them toamapwould be nice but it would also be dead useful to be able to drop-in replace with anaiometer.gatherin a like-for-like fashion to add metering separately.It's not impossible to shim on top of
amapbut would it be something you'd consider bringing into scope in the library itself? Especially since the exception handling semantics ofgathercan be a bit subtle.