Skip to content
Discussion options

You must be logged in to vote

Ok, found it:

        async def consume_events(msg:CallEvent):
            logger.info("Started event consumer")

        try:

            subscriber = self.broker.subscriber(list=f"{self.call_id}:events")
            subscriber(consume_events)
            await subscriber.start()
            logger.info("Started call manager")
            

It's working as expected.

Replies: 6 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Lancetnik
Comment options

@pbonneaudiabolocom
Comment options

Comment options

You must be logged in to vote
1 reply
@Lancetnik
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by pbonneaudiabolocom
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