@djangoproject · Post #391 · 25.07.2017 г., 20:24
https://www.python.org/dev/peps/pep-0492/ #Coroutines with #async and #await syntax
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #272 · 14 јул.
Наверняка у многих возникло желание потестить отправку сообщений, но Redis не установлен и вообще непонятно как с ним быть. На самом деле запустить его очень просто. 🔸 Для Windows, качаем архив, запускаем redis-server.exe 🔸 Для Linux несколько команд 🔸 Если есть Docker, то еще проще docker run --rm -p 6379:6379 redis Всё, можно экспериментировать! ______________________ А еще с сервером можно поиграть в пинг-понг > redis-cli ping PONG #tricks#libs#linux
Пребарај: #await
@djangoproject · Post #391 · 25.07.2017 г., 20:24
https://www.python.org/dev/peps/pep-0492/ #Coroutines with #async and #await syntax
Hashtags
@djangoproject · Post #160 · 12.09.2016 г., 17:43
http://stackoverflow.com/questions/34052293/mixinig-async-context-manager-and-straight-await-in-asyncio #aenter #aexit #await #asyncio
@djangoproject · Post #517 · 08.12.2017 г., 05:27
https://vorpus.org/blog/some-thoughts-on-asynchronous-api-design-in-a-post-asyncawait-world/#websocket-servers I've recently been exploring the exciting new world of #asynchronous I/O libraries in Python 3 – specifically asyncio and curio. These two libraries make some different design choices. Example 1: #asyncio, with callbacks Example 2: #curio, with #async/#await Example 3: asyncio, with async/await #websockets