|
|
|
|
|
by sheept
20 days ago
|
|
#3 is not satisfied, as you noted in #2. You can call `throws` methods from non-`throws` methods by wrapping the call in a try catch, and `throws` methods can call non-`throws`. There isn't an exclusivity asymmetry like there is for JavaScript async. |
|
In Python, you can wrap the call with asyncio.to_thread, in rust with tokio::spawn_blocking.