fast-async icon indicating copy to clipboard operation
fast-async copied to clipboard

Results 6 fast-async issues
Sort by recently updated
recently updated
newest added

Hello. I made a minimal example demonstrating the problem: https://github.com/Katarn/fast-async-bug. Code from this file: https://github.com/Katarn/fast-async-bug/blob/master/src/index.js transpiled in the following code: ```js // "use strict"; // var MyClass = function ()...

As title. ```ts // source code const main = async () => { for await (const i of [1, 2, 3]) { console.log(i); } }; // compiled code const main...

I'm looking for something that, with any version of babel, can simply translate async/await into Promises in a human-readable form - no any extra helpers or prototypes, etc. Example In:...

Hey, I am running into an issue when I write for...of loop with await. ([example](http://nodent.mailed.me.uk/#async%20function%20tellYouLater(sayWhat)%20%7B%0A%20%20%20%20%2F%2F%20Do%20something%20asynchronous%2C%20such%20as%20DB%20access%2C%20web%20access%2C%20etc.%0A%20%20%20%20return%20%22I%20said%3A%20%22%2BsayWhat%3B%0A%7D%0A%0Aconst%20hooks%20%3D%20%5B%0A%20%20%20%20function()%20%7B%0A%20%20%20%20%20%20%20%20const%20reminder%20%3D%20tellYouLater(%22I'll%20tell%20you%20later%22)%0A%20%20%20%20%20%20%20%20return%20reminder%3B%0A%20%20%20%20%7D%2C%20%20%20%20%0A%20%20%20%20function()%20%7B%0A%20%20%20%20%20%20%20%20const%20reminder%20%3D%20tellYouLater(%22Eat%20more%20salad%22)%0A%20%20%20%20%20%20%20%20return%20reminder%3B%0A%20%20%20%20%7D%20%20%20%20%0A%5D%0A%0Afor%20(const%20hook%20of%20hooks)%20%7B%0A%20%20%20%20console.log(await%20hook())%3B%0A%7D%0A%0A~options~%7B%22mode%22%3A%22lazyThenables%22%2C%22promiseType%22%3A%22native%22%2C%22noRuntime%22%3Afalse%2C%22es6target%22%3Afalse%2C%22wrapAwait%22%3Afalse%2C%22spec%22%3Afalse%7D)). I am transpiling to ES5 with babel and I believe I need `nodent-runtime` to have...

Package.json ``` "@babel/cli": "^7.2.3", "@babel/core": "^7.2.2", "@babel/plugin-proposal-class-properties": "^7.3.0", "@babel/plugin-proposal-object-rest-spread": "^7.3.2", "@babel/plugin-transform-modules-commonjs": "^7.2.0", "@babel/plugin-transform-runtime": "^7.2.0", "@babel/preset-env": "^7.3.1", "@babel/preset-react": "^7.0.0", "@babel/register": "^7.0.0", "fast-async": "^7", ``` My `babel.config.js`: ```js module.exports = api =>...

Currently, the code uses the `babylon` old package.