> This is a test to simulate the use of a synchronous function in an > asynchronous environment!
I feel like you're trying to say something by this but I am missing it. I know that this what you are doing, your `testSync` proc can use `sleep` since it's spawned in another thread, but you cannot use `sleep` inside the async `test` proc. You're blocking the main thread where the async loop runs in! > What should I do to run the synchronous sleep function at the same time as > the asynchronous sleep function without blocking? Run it in a different thread, which you are doing in `testSync` via `spawn`.