Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: always return promise in close()
Updates the `close` method to always return a `Promise` rather than having a mixed return type. We do not need to check `closed` since we only care if the close logic/promise has already started, so switching the condition should be enough.
- Loading branch information