-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested
Description
We should support async generators somehow.
const f = async function * () {
await somethingAsync();
yield 1;
await anotherThingAsync();
yield 2;
}
// Iteration requires the await keyword
async () => {
for await (const x of f()) {
console.log(x);
}
};
- Will we need to add any run-time dependencies?
- Do the functions belong here or in another library?
- Should we do dynamic dispatch on the existing functions?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested