4 ms·
This is exactly what I am doing, but you shouldn't have to modify the request itself to pass temporary state
by newaccount2021 4y ago
This is exactly what I am doing, but you shouldn't have to modify the request itself to pass temporary state
- fasterthanlime 4y agoEh, that's definitely a matter of taste. You definitely shouldn't have to pass an additional parameter everywhere you want context there's no absolutes here, just preferences.
- masklinn 4y agoWhy not? Given Rust's semantics it's really no different than how Go's Context seems to be used, just more efficient.