Invoke async c# code

I think you can potentially do this with the new Coded Workflows feature (starting from Studio 2023.10).

Please have a look at this sample project that I got while testing things with SOAP requests and which uses an async task:
Generating code with Coded Workflows to send SOAP requests