I suggest following solution:
Put the async code in a method in a separate unit that you add to your project.
Include this unit from the main DPR file and call the method from there.
I suggest following solution:
Put the async code in a method in a separate unit that you add to your project.
Include this unit from the main DPR file and call the method from there.