@squid_tg_announcement · Post #13 · 21.02.2024 г., 13:00
It's live now. 🦑🦑🦑 Get your squids here: https://t.me/squidtg_bot #SquidFairLaunch#Inscription
Hashtags
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
Пребарај: #inscription
@squid_tg_announcement · Post #13 · 21.02.2024 г., 13:00
It's live now. 🦑🦑🦑 Get your squids here: https://t.me/squidtg_bot #SquidFairLaunch#Inscription
Hashtags
@tokenpocket_channel · Post #1084 · 05.01.2024 г., 10:34
🎯Join the People's Alliance Inscription Campaign with TokenPocket_TP, powered by ParticleNtwrk on LineaBuild! ✅Complete simple tasks on Galxe: https://galxe.com/TokenPocket/campaign/GCkPFttWC1 Now, People's Alliance Inscription is listed on the TokenPocket Hot DApp List on LineaBuild and #Inscription list, you can directly #JointheAlliance with your TokenPocket Wallet. #JointheAlliance 【Details】https://twitter.com/TokenPocket_TP/status/1743218692169888096 【Powered By】Crypto Box
Hashtags
@wallparpes_hd · Post #113 · 19.03.2020 г., 15:02
Cat Eyes #animals#amoled#inscription 📱 Wallpapers HD 4k📱⭐ https://t.me/joinchat/AAAAAE65rdIFyMNq1qiq7A
Hashtags
@tokenpocket_channel · Post #1009 · 14.12.2023 г., 10:17
🆕http://evm.ink now fully supports TokenPocket Wallet login and http://evm.ink is also listed on the TokenPocket #Inscriptions List! 👉https://www.tokenpocket.pro/ evmink is a #multichain#inscriptions indexer and marketplace. It has surpassed 270 million inscriptions and has more than 500,000 monthly unique wallet/visitors. Now users can explore #Inscription on BNBCHAIN, ethereum, and 0xPolygonLabs. 👉https://evm.ink/ 【Details】https://twitter.com/TokenPocket_TP/status/1735241797901996541 【Powered By】Crypto Box
@Wallpaper_INT · Post #46050 · 29.03.2025 г., 17:30
#Car#Red#Motivation#Inscription#8K @Wallpaper_INT
@Wallpaper_INT · Post #46539 · 08.06.2025 г., 19:30
#Mountains#Man#Inscription#Stars#8K @Wallpaper_INT
@Wallpaper_INT · Post #46528 · 01.06.2025 г., 11:31
#Strawberries#Inscription#Red#8K @Wallpaper_INT
Hashtags
@Wallpaper_INT · Post #47148 · 04.11.2025 г., 16:30
#Car#Porsche#Inscription#Black#8K @Wallpaper_INT
@Wallpaper_INT · Post #47271 · 18.12.2025 г., 18:30
#Car#Porsche#Inscription#Red#8K @Wallpaper_INT
Hashtags
@blackwallp · Post #69777 · 11.05.2026 г., 05:39
#надпись#мотивация#inscription#motivation 🎥Videowallpaper |😀Emoji |🎼Ringtone
@Wallpaper_INT · Post #46031 · 23.03.2025 г., 07:30
#Medusa#Lines#Inscription#8K @Wallpaper_INTd
Hashtags
@Wallpaper_INT · Post #46026 · 22.03.2025 г., 10:30
#Car#Porsche#White#Inscription#8K @Wallpaper_INT