Troy Gerwien
Troy Gerwien
@ramikhalaf yes, but it wouldn't mitigate the starvation problem and dreamjs would still be effectively synchronous - see https://gist.github.com/brycebaril/ff86eeb90b53fd0c523e
Hi @rajjaiswalsaumya, these days you shouldn't need to use this library for basic scenarios like in #13. TypeScript and JavaScript have native async/await syntax built in to the language now....
As an example of yielding at any stack depth as mentioned by @bjouhier, with this fiber-based implementation of async/await you can easily combine async and functional programming: ``` js let...
Yep good idea, I'd like to add this when I get a chance.
@stanleyxu2005 once you can use native async/await, I'd recommend migrating away from this library to the native syntax. In most cases it should be as simple as removing the extra...
Hi @joepie91, Looks good, thanks! Before committing this, would you mind replacing the arrow functions with ordinary function expressions? None of the code examples have been upgraded to use ES5...
Hi @arogg, You are doing it right. I've just tested your code and get the same result. So, the README is currently misleading, and I need to work on the...
Not currently, no. The API is batch-oriented, but you can set the batch size to 1 and process records one-by-one. I guess you could build a streaming interface over the...
Thanks for the bug report @blue-predator. I don't think there's enough information in the issue description to investigate this. Are you able to supply detailed steps to reproduce the problem,...
I'll need a code listing that I can run and debug in order to investigate this. There are a number of possibilities that I can't really check just from looking...