-
Example code:
```ts
import delay from "delay";
import { parallelMerge } from "streaming-iterables";
async function* iterable(name: string, dt: number) {
try {
for (let i = 0; ; i++) {
…
-
My usecase with collections from https://github.com/facebook/immutable-js:
``` js
co.wrap(function*(list) {
// list is Immutable.Map
const results = yield list.map(function(id) {
re…
-
This is an idea for a new feature, either in Repeater or as a separate class in the same project.
**The idea:** The object returned by `new Repeater()` should have an additional `.then` method, whi…
-
This is the 2nd feature I would like to discuss adding to the library.
Which is also a feature request for an excellent raw websockets library.
The feature is described [here](https://github.com…
-
I am streaming results and I would to cut off the stream after X rows, but I need to know how many rows there are in total.
I have tried to simply count chunks after I stop reading them, but the ov…
gajus updated
4 years ago
-
### Before You File a Bug Report Please Confirm You Have Done The Following...
- [X] I have tried restarting my IDE and the issue persists.
- [X] I have updated to the latest version of the packages.…
-
The section on async generators seems confused about what Jafar's slides propose. It proposes Rx-style observables (your signals, I believe); it does not propose anything like the async iterators in G…
-
# Suggestion
It would be amazing if typescript could infer types from async generators.
The following is valid javascript, thus, I think, it should be valid typescript and type of `x` should b…
-
Would it make sense to inherit Signals from EventTarget?
I handle it like this in my signal implementation:
https://github.com/nuxodin/item.js
Among other things, this would make it possible t…
-
Hi
I am looking at making a little utility for creating a stream from a nodeJS `readable stream` , this will bring all the nice monadic interfaces of flyd (using `map`, `chain` etc is much simpler a…