-
## Bug Report
### Plugin(s)
@capacitor/push-notifications
### Capacitor Version
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 6.1.2
@capacitor/core: 6.1.2
@ca…
-
Hi, I just saw this project and I have a question, could pecs's promises implement [Future](https://doc.rust-lang.org/std/future/trait.Future.html) so that it can be used with async/await? Not a featu…
-
### What happened + What you expected to happen
When we have multi output refs, we want to batch wait the result. For the sync case, I verified ray.get works. But for async case, asyncio.gather doesn…
-
**Promise 对象用于表示一个异步操作的最终状态(完成或失败),以及该异步操作的结果值。
它允许你为异步操作的成功和失败分别绑定相应的处理方法(handlers)可以将异步操作队列化,按照期望的顺序执行,返回符合预期的结果**
一个 Promise有以下几种状态:
pending: 初始状态,既不是成功,也不是失败状态。
fulfilled: 意味着操作成功完成。
reje…
-
# 概念
ES2017 引入的 `async`, `await` 实际上是 Generator 函数的语法糖,使异步操作的写法更加方便。
(既然是语法糖,那我们就可以尝试用 Generator 自己去手写一个 async, await 了 😆 )
跟 Generator 函数比较,可以发现,语法上,就是把 `*` 号换成 `async` , `yield` 关键字换成 `awai…
-
Do you plan to provide async/await-based API?
P.S. The first step would probably be merging Rust 2018 edition support (#287)
-
```
I am proposing very simple async-enabled serialization methods that basically
wrap MemoryStream. Below is a basic proposed implementation:
public static Task SerializeWithLengthPrefixAsync(
…
-
```
I am proposing very simple async-enabled serialization methods that basically
wrap MemoryStream. Below is a basic proposed implementation:
public static Task SerializeWithLengthPrefixAsync(
…
-
```
I am proposing very simple async-enabled serialization methods that basically
wrap MemoryStream. Below is a basic proposed implementation:
public static Task SerializeWithLengthPrefixAsync(
…
-
```
I am proposing very simple async-enabled serialization methods that basically
wrap MemoryStream. Below is a basic proposed implementation:
public static Task SerializeWithLengthPrefixAsync(
…