Is there some kind of mutex that would make Motoko code execution uninterrupted during executing a function calling multiple canisters with await
?
1 Like
If you really want to do that, you can use a simple bool that you toggle when you’re in a method. Otherwise there is no such thing in Motoko. But note that this will seriously limit the scalability of your canister