Add concurrency helper utilities: as_completed, gather, amap (#1173)