Open
Description
Unrelated to your changes, but this potentially doesn't match the behavior of C#. It may be worth updating this to
GetAwaiter().GetResult()
instead to match C#. And maybe have some test (at least manual) to verify that.
Originally posted by @Youssef1313 in #4814 (comment)