TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #401 · 15 дек.

Функция asyncio.wait() это еще один способ вызвать множество асинхронных задач. Она работает в нескольких режимах. 1. Самый простой - ждем завершения всех задач async def main(): tasks = [asyncio.create_task(do_it(i)) for i in range(10)] done, pending = await asyncio.wait( tasks, return_when=asyncio.ALL_COMPLETED ) for task in done: try: print(task.result()) except Exception as e: print(e) Очень похоже на gather, но работает не так. ▫️возвращает не результаты, а два сета с объектами Task у которых можно забрать результат через task.result() если они в списке done ▫️не гарантирует порядок результатов так как оба объекта это set ▫️не выбрасывает исключение когда оно появляется, а сохраняет его в Task. Исключение появится когда попробуете забрать резултьтат. 2. Ждем завершения первой задачи, даже если там ошибка. async def main(): tasks = [asyncio.create_task(do_it(i)) for i in range(3)] done, pending = await asyncio.wait( tasks, return_when=asyncio.FIRST_COMPLETED ) # в done может быть несколько задач! for task in done: try: print(task.result()) except Exception as e: print(f"Fail: {e}") # Оставшиеся задачи в pending, как правило, нужно отменить, иначе они будут продолжать работать for task in pending: task.cancel() В сете done будут таски которые успели завершится, причем как успешно так и нет. 3. До первой ошибки. Тоже самое, но с аргументом FIRST_EXCEPTION done, pending = await asyncio.wait( tasks, return_when=asyncio.FIRST_EXCEPTION ) Функция завершается как только первая задача упадет с ошибкой. Учтите, что в любом случае done вы можете обранужить несколько задач, как с ошибками так и успешные. ↗️ Полный листинг примеров здесь #async

Hashtags

Резултати

Пронајдени 121 слични објави

Пребарај: #atom

当前筛选 #atom清除筛选
Coin Sonar

@CoinSonar · Post #243622 · 17.04.2026 г., 11:40

#ATOM | Volume spike (USDT PAIR) 9 times the average volume 245.89K USDT traded in 15 min └Buying vol: 173.79K USDT 🟢 Boost score: 4/10 24h Vol: 2.44M USDT (Binance) Price: 1.824 (-4.0% in 24h)

Hashtags

Crypto Headlines

@market_headlines · Post #28169 · 03.04.2026 г., 09:16

🔠#ATOM Leap Wallet, криптокошелек экосистемы Cosmos, прекратит свою работу 28 мая 2026 года – анонс Ранее: DMAIL Network Crypto Headlines

Hashtags

Pro Analysis

@proanalysistrader · Post #27848 · 17.08.2024 г., 11:16

#ATOM/USDT analysis : #ATOM is currently moving up while finding support over the trendline. It has also broken out above the 200 EMA on the lower timeframes. The price is expected to continue its momentum and test previous highs. TF : 15min Entry : $4.613 Target : $4.675 SL : $4.567

Hashtags

Pro Analysis

@proanalysistrader · Post #27692 · 22.06.2024 г., 05:03

#ATOM/USDT analysis - #ATOM is in a downtrend, making new lows while trading below the 200 EMA. The price is currently rejecting from the resistance zone and expected to decline from there, continuing its bearish momentum. Aim for the previous swing low as the target level. TF : 1h Entry : $6.758 Target : $6.216 SL : $7.131

Hashtags

American Crypto©

@americancryptotrading · Post #27610 · 05.05.2026 г., 09:17

🇺🇸#ATOM/USDT is consolidating above the lowerboundary of the descendingchannel pattern on the weekly timeframe👀 Market recovery is underway🚀 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27550 · 02.03.2026 г., 11:04

🇺🇸#ATOM/USDT has found support at the lowerborder of the descendingchannel pattern on the weekly chart👨‍💻 Looks bullish🐃 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27500 · 12.01.2026 г., 10:22

🇺🇸#ATOM/USDT has bounced from the support at the lowerboundary of the descendingchannel on the weekly chart🔍 Accumulate here✈️ American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27394 · 02.10.2025 г., 09:05

🇺🇸#ATOM/USDT is facing the supportzone on the weekly chart🔍 Further upside possible after bounce🐃 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27328 · 31.07.2025 г., 10:20

🇺🇸#ATOM/USDT is testing the supportzone on the weekly chart🧐 Looking for a bounce and rally🐃 American Crypto©

Hashtags

123•••1011
ПретходнаСтраница 1 од 11Следна