Skip to content

feat: create template.asyncExpression#405

Merged
Daniel15 merged 1 commit intofacebook:masterfrom
jedwards1211:async-expression
Jun 26, 2021
Merged

feat: create template.asyncExpression#405
Daniel15 merged 1 commit intofacebook:masterfrom
jedwards1211:async-expression

Conversation

@jedwards1211
Copy link
Copy Markdown
Contributor

@jedwards1211 jedwards1211 commented Dec 21, 2020

allows things like asyncExpression`foo ? await bar : baz`

I was tempted to make expression itself support this, but it has to wrap the code in async () => (...), and theoretically some user-supplied parsers might not support async functions.

@Daniel15 Daniel15 merged commit 31bab3a into facebook:master Jun 26, 2021
@Daniel15
Copy link
Copy Markdown
Member

Published this in 0.13.0. Thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants