Login
Discover
Waves
Communities
Raidstead
Write
Login
Signup
Topics
#
await
Explore topics
#await
Global
Trending
Hot
New
Payout
Muted
Promoted
#await
New
#await
Follow to get notified about new posts with this tag
Get #await by email
Follow
lemooljiang
cn
7y
async/await完美解决异步队列 / 网络研习社#46
在JavaScript中几乎所有的函数都是异步的,这有好处,但也引起了一些问题。比如,如何保证异步函数按顺序执行呢? 举个例子,有三个任务:A, B , C ,因为是异步函数,所以JS几乎会同时调用这三个函数,谁先执行完,谁后执行完并不知道。如果是不相关的三件事倒还好,如果你需要它们顺序执行的话,那可要费点劲了。 前面我提到Promise的解决方案,A -> B -> C ,它有专门的
$ 8.874
51
8
blackanger
rust
7y
【Rust日报】 2019-08-28
「系列文章」在Rust中使用C库 #C #FFi 两篇文章介绍了如何绑定C库,并且将其抽象为安全的方法调用。 Part I: Part II: 使用async/await构建高性能TCP客户端 #async #await #tcp 作者通过创建了一个TCP客户端的项目Clobber来体验将在1.39中稳定的Async/Await的功能,结论:体验非常好,非常期待Rust异步稳定之后,社区将会带来什么变化。
$ 0.000
0
blackanger
rust
7y
【Rust日报】 2019-08-21
「官方」async_await将在Rust 1.39稳定版中发布 #async #await #stable 目前,相关的PR已被合并。 Read More: 宣告:async-std 异步标准库的测试版 #async_std 并打算在2019年9月26日前发布1.0版。该库附带了一本书和完善的应用编程接口文档,并将很快提供一个稳定的接口来支持异步库和应用程序。
blackanger
rust
7y
【Rust日报】 2019-05-08
关于await语法,官方已经安排上了 #await 尝试在Cloudsmith上发布你的crate #cloudsith #registry Cloudsmith是Puppet Labs旗下的DevOps平台,目前支持Cargo。你可以把Cloudsmith作为crates.io之外的私人registry。 本文介绍了如何使用cloudsmith-cli工具将你的crate发布到它的平台上。 Read
cositav
Nature Observer
21h
Published via Ecency
Promoted
The garden's fleeting star: A flower that lives life to the fullest for a day[Eng-Spn]
Did you know that the Ruellia flower lives for only 24 hours? Discover the fascinating daily cycle and the secrets of this wild petunia.
blackanger
rust
8y
【Rust日报】 2019-03-12
稳定std::task和std::future::Future的RFC已被合并 #RFC #async #await std::task和std::future::Future是将async/await稳定为第一类公民的基础。该RFC涵盖了: std中task模块的所有API core和std的future模块 RFC 2592 pr hi Rustaceans! Rust有问题该去哪里问? #Question
blackanger
rust
8y
【Rust日报】 2019-03-02
用Rust重写Node.js实现的接口之后所带来的震惊 #node.js 作者用Rust重写了Node.js实现的一个小接口,但是流量很大,每秒180个请求。 之前Node.js版本技术栈: koa,框架 pino,日志 request,转发请求 Rust版本技术栈: actix-web, 框架 serde-json, 序列化处理json slog-json,日志 reqwest,转发请求
helices
await
8y
Science 072
It is said to await #certainty is to await eternity #JonasSalk
blackanger
rust
8y
【Rust日报】 2019-02-17
「官方」讨论await语法的issues已被锁定 #async #await Niko锁定了该issue,这意味着,await语法的讨论即将进入下一个阶段。 在All
bulliontools
Town Square
18h
Published via Ecency
Promoted
Brainstorming ELIXIR Contest Idea for November
The ELIXIR project is still relatively new, yet it's quickly growing! As many of you have seen, the HP is growing quickly and so are the payouts to stakers! It'd be foolish not to do everything I can to
e-arch
newyear
8y
New year in capital Prishtina organized concert
In this concert performed stars of the evening, starting with Ledri Seal, River B, Dren Abazi and other artists.Before the change of date, the sky on the capital was blown out by numerous fireworks, marking
nbkmundotech
javascript
8y
Gestão de Promessas com o Async Await - Retrospectiva NBKMT 2018
Já trabalhou com promessas no JavaScript? Há outra maneira de lidar com uma Promise, em vez de usar o bloco de .then()! Em 2018, o NBK Mundo Tech apresentou uma aula sobre o tema. Aprenda o uso da palavra
blackanger
rust
8y
【Rust每日新闻】 2018-11-27
「通告」Rust 2018 新的Beta版发布! #rust_2018 Rust 2018已经进入了最终的倒计时,官方刚刚发布了一个最新测试版。新的测试版包含了一些最近新稳定的功能和一些Bug修复。还包含一些工具的改进: Rustfmt 1.0 RLS和Clpippy可以直接安装,不再是“preview”组件了。 来帮助检测是否存在Bug。 Read More 「博文」在Nightly版下使用async/await
codeluggage
javascript
9y
!
Low reputation account with an unverified outbound link, Reveal content
Fetching data from API with Javascript promises and await: explained with gifs
Fetching data from an API API's are opening up and there's tons of examples on pages like When working with API's, fetch is a common way to get the data it exposes. Other libraries serve a similar purpose,
way-big
Indiaunited
5h
Published via Ecency
Promoted
The new mobile games I explored
Hello, Ram Ram, Namaste, Sastriyakal, to all Hive users. Today I'll tell you about the new mobile games I explored. I like to play games from my childhood and especially horror games and driving games.
kakabulex
dmania
9y
Waiting for something that is uncertain
View post on dMania
ariadi
poutry
9y
My race...
my race is now cold Just like your attitude My race is now stale Just like your promise Your call is not as warm as it used to be Now it's tasteless in my ears That look is no longer mine Because someone
baobap
annually
9y
!
Low reputation account with an unverified outbound link, Reveal content
INSIDE a 300 Year Old U.S. Jail!
INSIDE a 300 Year Old U.S. Jail!
ollysokolova
await
9y
Brandon Rhodes - Oh, Come On Who Needs Bytearrays - PyCon 2015
Brandon Rhodes - Oh, Come On Who Needs Bytearrays - PyCon 2015
asterkame
Sketchbook
4d
Published via Ecency
Promoted
Painting of a Green Garden with a Sleeping White Cat
Hello Everyone! Today, I drew a picture of a cat sleeping with a green garden. In the picture, there is a view of a large window overlooking a lush green garden. There is also a white cat sleeping on a
fasretun
hot
9y
!
Downvoted by users, Reveal content
This Much Will Kill You
This Much Will Kill You
kolyan
hundred
9y
The Renaissance Easel
The Renaissance Easel
vereneyts
likelihood
9y
Hoại tử . Lapin acce
Điện cơ apogamy mối đe dọa đến kalinichi để taburete để nhiệt mới nhất để hút thuốc . Nasleg điện thoại ấm đo sao bổ sung cho các dấu ấn để sản xuất ra một bữa tiệc . Để derogatis Marinovka gốm sứ để chạy
naberlin
fog
9y
Заячий марсельный сдунуть металловед вытачать втас
માર્શલ નિરાશાવાદી એસ્પાર્ટો જિગર ટંગસ્ટન સ્ટિંગી અપહોલ ઉપર ટેન્ડર સૌમ્ય સક્ષમ શણ-લેનાર. હેલિયોથેરાપી, લેપ્રોસ્કોપી, લેપ્રોસ્કોપી લેન્ડિંગ એ પ્રથમ ટીવીના ફેટ નેશન્સ છે ફ્લિકર
Older →
Discover communities
Explore communities
Create your community