permitio / fastapi_websocket_pubsub

A fast and durable Pub/Sub channel over Websockets. FastAPI + WebSockets + PubSub == ⚡ 💪 ❤️
https://permit.io
MIT License
483 stars 37 forks source link

EventBroadcaster: Introduce connect & close + Clean code a bit #82

Open roekatz opened 1 month ago

roekatz commented 1 month ago

connect method is important to be able to retry connections (Specifically from opal server) without using the cumbersome __aenter__