- cross-posted to:
- webdev@programming.dev
- typescript@programming.dev
- cross-posted to:
- webdev@programming.dev
- typescript@programming.dev
You must log in or # 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.