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

Резултати

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

Пребарај: #bch

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

@CoinSonar · Post #243359 · 16.04.2026 г., 23:33

#BCH | Volume spike (USDT PAIR) 62 times the average volume 298.52K USDT traded in 1 min └Buying vol: 217.59K USDT 🟢 Boost score: 6/10 24h Vol: 6.91M USDT (Binance) Price: 455.2 (-1.8% in 24h)

Hashtags

American Crypto©

@americancryptotrading · Post #27574 · 31.03.2026 г., 09:39

🇺🇸#BCH/USDT is about to break through the ascendingtriangle on the 2W timeframe👀 Bullish📈 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27492 · 05.01.2026 г., 09:52

🇺🇸#BCH/USDT is currently trading above the symmetrical triangle formation on the 2W timeframe👨‍💻 Looking for a rise🐃 American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27446 · 22.11.2025 г., 16:18

🇺🇸#BCH Bitcoin Cash is pressing against the upper boundary of the macro ascending channel on the weekly timeframe 📈 Price continues to build higher lows while grinding toward resistance — a classic sign of strength inside a rising structure. Once BCH breaks through the channel top, momentum can accelerate sharply, opening the door for a major continuation move 🚀 The chart is bullish — BCH is preparing for the next expansion leg. American Crypto©

Hashtags

American Crypto©

@americancryptotrading · Post #27403 · 11.10.2025 г., 10:40

🇺🇸#BCH/USDT is consolidating above the symmetricaltriangle pattern on the weekly chart💁‍♂️ The bullish outlook remains intact🚀 American Crypto©

Hashtags

Free Crypto Signals (Profitable Zone)

@btctradingclub · Post #26960 · 22.02.2026 г., 09:58

🔰#BCH Update - Price is pushing higher after the recent bounce. Keeping a close watch on $603, which remains a key upside target on this leg up, as it aligns with the yearly open — a significant level that often acts as strong resistance.

Hashtags

Free Crypto Signals (Profitable Zone)

@btctradingclub · Post #26416 · 24.11.2025 г., 12:01

✅✅ 30% Profit on #BCH/USDT for our Premium Members on Binance Futures/Bybit/OKX & KuCoin 👁‍🗨Contact @primemod to enter the premium group & make daily gains on Futures/Bybit/OKX/Kucoin & Bitget market

Hashtags

Free Crypto Signals (Profitable Zone)

@btctradingclub · Post #26415 · 24.11.2025 г., 08:40

✅✅ 38% Profit on #BCH/USDT for our Premium Members on Binance Futures/Bybit/OKX & KuCoin 👁‍🗨Contact @primemod to enter the premium group & make daily gains on Futures/Bybit/OKX/Kucoin & Bitget market

Hashtags

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