Skip to content

v0.5.0

Compare
Choose a tag to compare
@moser moser released this 24 Oct 19:46
· 38 commits to main since this release
  • Fix excessive CPU usage caused by threading.Event.wait
  • Add API docs
  • Split SubscriptionHandler into 3 classes and invert dependency to Subscription
    • MessageHandlerRegister allows registering and retrieving handlers using type hints
    • SubscriptionMessageHandler uses register to message handling (including call middleware & error handling)
    • SubscriptionRunner allows contionously running the message handler on a Subscription
  • Add class-based MessageHandler which wraps a MessageHandlerRegister and
    implements the same interface