Changes for version 0.003 - 2026-04-07

  • Fix reconnect Future retention: the Future returned by the internal connect() call was not held anywhere, so the reconnect async sub was garbage-collected mid-flight ("lost its returning future")
  • _on_disconnect now cancels any pending connect Future so its async sub unwinds cleanly instead of hanging forever
  • connect() now cancels stale Futures from previous failed attempts
  • Reconnect chain uses proper Future composition (then/on_done/on_fail) instead of nested closures with eval

Modules

Async NATS client for IO::Async
Represents a NATS subscription