- cross-posted to:
- typescript@programming.dev
- cross-posted to:
- typescript@programming.dev
You must log in or register to comment.
‘using’ is pretty interesting, seems like it would make disposables easier to use. Though naming the disposable that you never use is a little weird.
Though naming the disposable that you never use is a little weird.
Usually you will use the disposable value, as it’ll have some other methods. In cases where you don’t, it’s often for something like locking/unlocking a resource.