nats-io / nats.ts

TypeScript Node.js client for NATS, the cloud native messaging system
https://www.nats.io
Apache License 2.0
178 stars 13 forks source link

Changes to initial drain implementation #22

Closed aricart closed 6 years ago

aricart commented 6 years ago

connection#drain() to close the connection when drain resolves. connection#drain() also closes the connection when completed