Skip to content

Commit 1ae71fa

Browse files
committed
chore: update readme
1 parent 2a6a3ac commit 1ae71fa

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ const billingEnabled = await client.watchConfigValue<boolean>({
6363
if (billingEnabled.get()) {
6464
console.log("Billing enabled!");
6565
}
66+
67+
// When done, clean up resources
68+
billingEnabled.close();
69+
70+
// Or, if you don't need the client anymore
71+
client.close();
6672
```
6773

6874
## API

0 commit comments

Comments
 (0)