Hi, I am considering using a web service inside FlexSim. After reading https://answers.flexsim.com/questions/21092/web-communication-within-flexsim.html. I know FlexSim is capable of sending HTTP request and response. But I don't want FlexSim to be blocked on the HTTP call, instead, my goal is to let the simulation continue and react to the response asynchronously. For example, say there a source creating 1 token every one second, the token is sent to a processor. The logic inside the processor is, sending a request to a remote web service and the token should leave the processor after receiving a response. While waiting for the response, FlexSim shouldn't freeze. The source should continue emitting tokens and the process should keep accepting tokens.
I am thinking about using a background thread listing to responses and updating tokens' state accordingly, the processor will react to the tokens' state.
Is the possible?