The actual work is something that takes 500ms, which is why I felt comfortable simulating it with a sleep
And, in fact, it’s a synchronous call
to another process. If I replace it with send_request
…check_response
, everything’s fine. It’s just harder to read the code – I quite liked the simplicity of the synchronous thing.