Если запустить REPL с модулем asyncio, то вы входите в особый асинхронный REPL.
user@host:~$ python -m asyncio
asyncio REPL 3.12.7 ...
Use "await" directly instead of "asyncio.run()".
>>> import asyncio
>>>
В этом режиме
- создаётся и настраивается event loop
- уже импортирован asyncio
- работает await на верхнем уровне
То есть такая команда сработает без ошибок!
await asyncio.sleep(3)
Удобно для тестирования асинхронных функций без создания ивентлупов и остальной обвязки.
Работает в: 3.8+
#tricks#async
🆕#DAppListing Track the Restaking World on TokenPocket!
With the booming #restaking eco, we've listed 20 restaking DApps on TokenPocket to help users seamlessly enjoy the restaking service!
🔵All-in-one, All-in TokenPocket!
👉https://tokenpocket.pro
👉https://extension.tokenpocket.pro/#/
Major Crypto Transactions and Funding News
🔥 50M #USDC burned at USDC Treasury.
🚨 100M #USDT transferred from Tether to unknown wallet.
📈 Mobile game Pixion Games raises $12.40M led by Delphi Digital.
🔧 TON Core reveals 2025 roadmap with major updates including Payment Network Layer 2 and new tools for validators.
💡 DeepSeek challenges AI sector, showing drastic efficiency improvements, causing significant market ripples. NVIDIA shares fell 13%.
💰 Pell Network and Inception raise $3.5M each in funding for restaking projects.
Read more about DeepSeek's impact here.
Full TON roadmap here.
#USDC#USDT#PixionGames#TON#DeepSeek#AI#Crypto#VC#blockchain#NVIDIA#funding#restaking#Web3#DeFi#Ethereum#gaming#PellNetwork#Inception