-
Note that to the script writer it shouldn't matter whether the code is async or not. I have an engine that runs some javascript expressions. It exposes some CLR methods. The underlying implementation of some of those methods is asynchronous in C#. Currently we simply block on those async calls, but I'd prefer not to. Is there some way to use |
Beta Was this translation helpful? Give feedback.
Answered by
lahma
Feb 22, 2023
Replies: 1 comment 6 replies
-
Previous discussions: |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently the best option is to call
GetAwaiter().GetResult()
to get the async outcome.