Skip to content

Release v0.4.0

Latest
Compare
Choose a tag to compare
@wallyqs wallyqs released this 04 Jun 16:19
· 11 commits to master since this release

Added

  • Support for PINGs from client to server to detect connection loss (#30) Many thanks to @viktorm77 for contributing the implementation.
async def conn_lost_cb(err):
    print(err)

sc = STAN()
await sc.connect("test-cluster", client_id, ping_interval=1, ping_max_out=10, conn_lost_cb=conn_lost_cb)