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

Резултати

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

Пребарај: #nmr

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

@CoinSonar · Post #244171 · 18.04.2026 г., 12:26

#NMR | Volume spike (USDT PAIR) 317 times the average volume 98.25K USDT traded in 1 min └Selling vol: 61.49K USDT 🔴 Boost score: 1/10 24h Vol: 445.92K USDT (Binance) Price: 8.75 (-1.3% in 24h)

Hashtags

Coin Sonar

@CoinSonar · Post #243656 · 17.04.2026 г., 13:09

#NMR | Volume spike (USDT PAIR) 28 times the average volume 130.67K USDT traded in 15 min └Selling vol: 79.47K USDT 🔴 Boost score: 1/10 24h Vol: 445.92K USDT (Binance) Price: 8.86 (-1.3% in 24h)

Hashtags

American Crypto©

@americancryptotrading · Post #27188 · 18.03.2025 г., 12:27

🇺🇸#NMR/USDT has crossed through the descendingresistance on the daily timeframe🔍 Climbing higher from here🐃 American Crypto©

Hashtags

Alphavave Traders ️️️

@alphavave · Post #3048 · 25.12.2025 г., 02:00

#NMR is crushing it with a 1,925% profit! 💰💵 That's a 1️⃣9️⃣🔤 return on your money from just one signal😉💵 Not going to lie, we have pretty much cracked the crypto code here. The results speak for themselves. Bet you are wondering how... Too bad most won't ever figure it out💯 you want the Same, this is your last chance🎁 ⚡️Don't miss the Christmas Sale!⚡️ ✅Monthly access is now just $30 (originally $200) ✅6-Month access is now just $75 (originally $500) ✅Lifetime access is now just $188 💵 (originally $1250) Let’s make this your most profitable Christmas yet! 🎉 DM me now! 👉@Kevindexter✅

Hashtags

CRYPTO SIGNALS FREE

@crypto_vip_signals_free · Post #372 · 13.08.2021 г., 05:06

#NMR is a type of hedge fund built by a network of data scientists fundamentally it is a strong project which haven’t pumped much in this altseason and definitely having potential to become a top gainer on binance. Technically NMR is on horizontal support and having bullish OBV divergence on 4H timeframe stochastic RSI looking bullish on 1D so now is the right time to build your position in it before breakout for massive profit😊 Target : 0.001-0.0011-0.00125-0.0015 For premium contatct @cryptomathh

Hashtags

12
ПретходнаСтраница 1 од 2Следна