-
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
String replace on async lambda #319
Labels
Milestone
Comments
jcubic
added a commit
that referenced
this issue
Mar 5, 2024
jcubic
added a commit
that referenced
this issue
Mar 5, 2024
jcubic
added a commit
that referenced
this issue
Mar 15, 2024
jcubic
added a commit
that referenced
this issue
Mar 23, 2024
jcubic
added a commit
that referenced
this issue
Mar 24, 2024
jcubic
added a commit
that referenced
this issue
Mar 25, 2024
jcubic
added a commit
that referenced
this issue
Mar 26, 2024
jcubic
added a commit
that referenced
this issue
Mar 28, 2024
jcubic
added a commit
that referenced
this issue
Mar 28, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was working on the
$
interpolation syntax extension (right now it needs to be#$
), the code needs to look like this:The problem is that the eval code is async and you need to do gimmicks like quoting promises and using await with
Promise.all
to get the values.The code is based on an idea from this StackOverflow JavaScript Q&A: javascript : Async/await in .replace.
What needs to be done:
Array::forEach
)replace
function(--> str (replace (lambda
or(str.replace (lambda
The text was updated successfully, but these errors were encountered: