Skip to content

How do multiple filtered subscriber behave? #1565

Answered by Lancetnik
febus982 asked this question in Q&A
Discussion options

You must be logged in to vote

Filter logic just allows you to call different handler functions for one message consumption
It is litterally the single subscriber, that iterates over your handlers and tries to find the first suitable one: https://github.com/airtai/faststream/blob/main/faststream/broker/subscriber/usecase.py#L335

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by febus982
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants