[email protected]+201305222207
Utility functions and classes related to the 'dart:async' library.
2013-05-22
安装 (0.1.7+201305222207)
dart pub add [email protected]+201305222207
flutter pub add [email protected]+201305222207
dependencies:
async: 0.1.7+201305222207
版本列表
2.13.1
2026-03-26
2.13.0
2025-02-06
2.12.0
2024-10-16
2.11.0
2023-03-10
2.10.0
2022-10-24
2.9.0
2022-04-01
2.8.2
2021-08-10
2.8.1
2021-07-22
2.8.0
2021-07-22
2.7.0
2021-05-20
2.6.1
2021-05-03
2.6.0
2021-04-28
2.5.0
2021-02-02
2.5.0-nullsafety.3
2020-11-03
2.5.0-nullsafety.2
2020-10-23
2.5.0-nullsafety.1
2020-09-22
2.5.0-nullsafety
2020-07-29
2.4.2
2020-07-06
2.4.1
2020-03-16
2.4.0
2019-10-03
2.3.0
2019-07-17
2.2.0
2019-04-05
2.1.0
2019-03-22
2.0.8
2018-07-19
2.0.7
2018-05-03
2.0.6
2018-03-03
2.0.5
2018-02-27
2.0.4
2018-02-10
2.0.3
2018-01-05
2.0.2
2018-01-03
2.0.1
2017-10-03
2.0.0
2017-08-29
1.13.3
2017-05-17
1.13.2
2017-02-20
1.13.1
2017-02-15
1.13.0
2017-02-06
1.12.0
2017-01-24
1.11.3
2016-10-24
1.11.2
2016-09-27
1.11.1
2016-07-19
1.11.0
2016-05-09
1.10.0
2016-04-12
1.9.0
2016-03-08
1.8.0
2016-01-25
1.7.0
2016-01-19
1.6.0
2016-01-11
1.5.0
2015-12-14
1.4.0
2015-10-28
1.3.0
2015-08-10
1.2.0
2015-06-26
1.1.0
2015-02-23
1.0.0
2014-05-23
1.0.0+1
2014-09-23
0.9.1
2013-12-20
0.9.0
2013-12-20
0.1.7
2013-05-19
0.1.6
2013-05-16
0.1.5
2013-05-11
0.1.4
2013-05-10
0.1.3
2013-05-10
0.1.2
2013-05-10
0.1.1
2013-05-09
0.1.7+201307031742
2013-07-03
0.1.7+201307031741
2013-07-03
0.1.7+201306072346
2013-06-07
0.1.7+201305222207
2013-05-22
相关教程
Swift 结构化并发 async let
Swift 结构化并发用 async let 同时运行多个任务等待所有结果。Child Task 自动取消。Task Group 动态并发。本文并行请求多个 API。
Rust 中的 async/await 协程
Rust 的 async/await 基于零成本 Future 抽象。Tokio 是主流异步运行时。async fn 返回 Future。本文用 Tokio 实现并发 HTTP 请求。
异步编程的 callback hell 到 async/await 演进
JavaScript 异步从嵌套回调到 Promise 链式调用再到 async/await 同步风格。async/await 是语法糖底层仍然是 Promise。本文用代码对比三种写法的演进。
Dart 语言的异步编程 Future 和 Stream
Dart 用 Future 表示未来的值Stream 表示一连串的值。async/await 语法与 JavaScript 类似。Stream 的 listen 和 transform 处理异步事件流。
Kotlin 协程的 suspend 关键字
Kotlin 的协程用 suspend 标记挂起函数。launch 启动新协程async 返回结果。Dispatchers 指定线程池。本文用网络请求展示 Kotlin 协程的典型用法。