2 ms·
You don't have to suppress it, you just write `void` in front of the floating promise. Which is arguably the correct way to handle this situation anyway. It ma
by mikojan 1y ago
You don't have to suppress it, you just write `void` in front of the floating promise.
Which is arguably the correct way to handle this situation anyway. It makes it unmistakably clear that you are intentionally throwing away a return value.