Skip to content

2.0.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 13 Dec 12:58
· 3 commits to master since this release
652bc8d

  • Implement .shutdown(immediate=False) for both sync and async APIs #720

    The change is not fully backward compatible:

    1. If the queue is closed, janus.AsyncQueueShutDown and
      janus.SyncQueueShutDown exceptions are raised instead of RuntimeError.

    2. Both sync and async .task_done() and .join() don't raise any exception
      on queue shutdown/closing anymore; it is compatible with shutdown behavior
      of stdlib sync and async queues.