j2inn / haystack-nclient

Project Haystack client network TypeScript library
BSD 3-Clause "New" or "Revised" License
11 stars 4 forks source link

Add Client#close() #11

Closed garethj2 closed 2 years ago

garethj2 commented 2 years ago

Added Client#close() method.

Techincally this speaking this isn't needed if all outstanding associated Watches are closed. I think it's a nice to have anyway.

Please note, if anything attempts to use a Watch beyond it being used, an error will be thrown.