3 ms·
Not sure if this would produce more issues, but they could ignore c# and use something like: const using x = getX() const {using prop1, prop2} = using getX
by wruza 3y ago
Not sure if this would produce more issues, but they could ignore c# and use something like:
const using x = getX()
const {using prop1, prop2} = using getX()
void using getX()
// x, prop1 and 2 anonymous Xs to dispose
Instead of giving `using` the power / the burden of variable creation. This also solves `using mutex.lock()` mentioned elsewhere itt.