Let me explain how the AsyncCode block works:
- the codeless logic runs in a specific environment, we call it CodeRunner Worker
- each worker wait until your code is complemented
- once your logic is done the worker will be killed
- the AsyncBlock runs code outside the main invocation flow and as a result, the worker does not wait until the async code is done and the worker might be killed before it’s completed sending any HTTP requests inside the AsyncBlock
Therefore:
- there is no guarantee that it will have time to send the request
- there is no guarantee that it will have time to receive a response from the request