-
Wanted to write this down so I don't forget, though it won't be in the first version of this proposal.
We should have a helper for merging or racing multiple AsyncIterators. When `next` is first ca…
-
I think it could be really interesting if we could create our own generators like `async`, `async*`, and `sync*`
I noticed that really, a lot of the features present in each kind already exists in …
-
**Search Terms:**
iterable return type
asynciterable return type
**Related Issues:**
https://github.com/Microsoft/TypeScript/issues/2983 - describes how the iterables types are not inferred …
-
1. **JavaScript Basics**
- Introduction to JavaScript
- Syntax and structure
- Variables (var, let, const)
- Data types (primitive types like String, Number, Boolean, etc.)
- Operators …
-
```rust
struct Foo(usize);
impl Foo {
fn next(&mut self) -> Option {
self.0 += 1;
match self.0 {
i if i > 3 => None,
3 => Some(Err(3)),
…
-
Multiprocessing since 3.3 has included [starmap ](https://docs.python.org/dev/library/multiprocessing.html#multiprocessing.pool.Pool.starmap)and [starmap_async](https://docs.python.org/dev/library/mul…
-
# Feature or enhancement
### Proposal:
Over the last few years, Trio and AnyIO users have proven out several design patterns using [channels as async iterables](https://trio.readthedocs.io/en/st…
-
I would want to do something like this:
```ts
const myMap = new Map(...);
const iterator: IterableIterator = myMap.values();
const first = R.pipe(
iterator,
R.first
);
```
Problem is …
-
Apollo link makes heavy use of `zen-observable`.
However ES2018 features async generators, aka async iterators, and it seems to me that they are a replacement for Observables, with less object-ori…
-
For the concurrency in the other helpers to be useful, you have to call `.next()` multiple times and buffer the results as they come in.
We should have a helper which does that for you, giving you …