hermes icon indicating copy to clipboard operation
hermes copied to clipboard

Add async generators support via AST transformation

Open trossimel-sc opened this issue 10 months ago • 1 comments

Summary

This PR introduces support for async generators through AST transformations. In detail:

  • Added AsyncGenerator.cpp to transform asynchronous generators into standard generators using AST transformations. This implementation mirrors the logic found in Babel .
  • Introduced an EnableAsyncGenerators flag to manage this functionality.

Test Plan

  • Added unit tests

trossimel-sc avatar Apr 03 '25 09:04 trossimel-sc

@avp has imported this pull request. If you are a Meta employee, you can view this in D78378721.

facebook-github-bot avatar Jul 15 '25 23:07 facebook-github-bot