Coverage for src/kwai/events/__init__.py: 100%

0 statements  

« prev     ^ index     » next       coverage.py v7.6.10, created at 2024-01-01 00:00 +0000

1"""Package for events. 

2 

3Subscribe to an event to process the event. One event can have multiple subscribers. 

4Just use a different queue for each subscriber of the same event. Subscribers are 

5triggered by the FastStream application. 

6 

7A use case is responsible for publishing the events to a broker. 

8 

9Events are dataclasses. 

10"""